OpenCPN Partial API docs
Loading...
Searching...
No Matches
AisTargetDataMaker Class Reference

Singleton factory. More...

#include <ais_target_data.h>

Public Member Functions

 AisTargetDataMaker (const AisTargetDataMaker &)=delete
 
AisTargetDataMakeroperator= (const AisTargetDataMaker &)=delete
 
std::shared_ptr< AisTargetDataGetTargetData ()
 
void SetCallbacks (AisTargetCallbacks callbacks)
 

Static Public Member Functions

static AisTargetDataMakerGetInstance ()
 

Detailed Description

Singleton factory.

Unless SetCallbacks() is invoked GetTargetData() returns an object with default, dummy callbacks.

Definition at line 276 of file ais_target_data.h.

Member Function Documentation

◆ GetInstance()

static AisTargetDataMaker & AisTargetDataMaker::GetInstance ( )
inlinestatic

Definition at line 278 of file ais_target_data.h.

◆ GetTargetData()

std::shared_ptr< AisTargetData > AisTargetDataMaker::GetTargetData ( )
inline

Definition at line 287 of file ais_target_data.h.

◆ SetCallbacks()

void AisTargetDataMaker::SetCallbacks ( AisTargetCallbacks  callbacks)
inline

Definition at line 288 of file ais_target_data.h.


The documentation for this class was generated from the following file: