OpenCPN Partial API docs
Loading...
Searching...
No Matches
AisDecoder Class Reference
Inheritance diagram for AisDecoder:

Public Member Functions

 AisDecoder (AisDecoderCallbacks callbacks)
 
AisError DecodeN0183 (const wxString &str)
 
std::unordered_map< int, std::shared_ptr< AisTargetData > > & GetTargetList (void)
 
std::unordered_map< int, std::shared_ptr< AisTargetData > > & GetAreaNoticeSourcesList (void)
 
std::shared_ptr< AisTargetDataGet_Target_Data_From_MMSI (int mmsi)
 
int GetNumTargets (void)
 
bool IsAISSuppressed (void)
 
bool IsAISAlertGeneral (void)
 
AisError DecodeSingleVDO (const wxString &str, GenericPosDatEx *pos, wxString *acc)
 
void DeletePersistentTrack (Track *track)
 
bool AIS_AlertPlaying (void)
 

Public Attributes

std::map< int, Track * > m_persistent_tracks
 
EventVar info_update
 Notified when AIS user dialogs should update. More...
 
EventVar touch_state
 Notified when gFrame->TouchAISActive() should be invoked. More...
 
EventVar new_ais_wp
 Notified when new AIS wp is created. More...
 
EventVar new_track
 Notified on new track creation. More...
 
EventVar delete_track
 Notified when about to delete track. More...
 
EventVar plugin_msg
 A JSON message should be sent. More...
 

Detailed Description

Definition at line 84 of file ais_decoder.h.

Constructor & Destructor Documentation

◆ AisDecoder()

AisDecoder::AisDecoder ( AisDecoderCallbacks  callbacks)

Definition at line 173 of file ais_decoder.cpp.

◆ ~AisDecoder()

AisDecoder::~AisDecoder ( void  )

Definition at line 226 of file ais_decoder.cpp.

Member Function Documentation

◆ AIS_AlertPlaying()

bool AisDecoder::AIS_AlertPlaying ( void  )
inline

Definition at line 105 of file ais_decoder.h.

◆ DecodeN0183()

AisError AisDecoder::DecodeN0183 ( const wxString &  str)

Definition at line 1512 of file ais_decoder.cpp.

◆ DecodeSingleVDO()

AisError AisDecoder::DecodeSingleVDO ( const wxString &  str,
GenericPosDatEx pos,
wxString *  acc 
)

Definition at line 1387 of file ais_decoder.cpp.

◆ DeletePersistentTrack()

void AisDecoder::DeletePersistentTrack ( Track track)

Definition at line 3341 of file ais_decoder.cpp.

◆ Get_Target_Data_From_MMSI()

std::shared_ptr< AisTargetData > AisDecoder::Get_Target_Data_From_MMSI ( int  mmsi)

Definition at line 3850 of file ais_decoder.cpp.

◆ GetAreaNoticeSourcesList()

std::unordered_map< int, std::shared_ptr< AisTargetData > > & AisDecoder::GetAreaNoticeSourcesList ( void  )
inline

Definition at line 94 of file ais_decoder.h.

◆ GetNumTargets()

int AisDecoder::GetNumTargets ( void  )
inline

Definition at line 98 of file ais_decoder.h.

◆ GetTargetList()

std::unordered_map< int, std::shared_ptr< AisTargetData > > & AisDecoder::GetTargetList ( void  )
inline

Definition at line 91 of file ais_decoder.h.

◆ IsAISAlertGeneral()

bool AisDecoder::IsAISAlertGeneral ( void  )
inline

Definition at line 100 of file ais_decoder.h.

◆ IsAISSuppressed()

bool AisDecoder::IsAISSuppressed ( void  )
inline

Definition at line 99 of file ais_decoder.h.

Member Data Documentation

◆ delete_track

EventVar AisDecoder::delete_track

Notified when about to delete track.

Contains a MmsiProperties* ptr

Definition at line 123 of file ais_decoder.h.

◆ info_update

EventVar AisDecoder::info_update

Notified when AIS user dialogs should update.

Event contains a AIS_Target_data pointer.

Definition at line 111 of file ais_decoder.h.

◆ m_persistent_tracks

std::map<int, Track *> AisDecoder::m_persistent_tracks

Definition at line 104 of file ais_decoder.h.

◆ new_ais_wp

EventVar AisDecoder::new_ais_wp

Notified when new AIS wp is created.

Contains a RoutePoint* pointer.

Definition at line 117 of file ais_decoder.h.

◆ new_track

EventVar AisDecoder::new_track

Notified on new track creation.

Contains a Track* pointer.

Definition at line 120 of file ais_decoder.h.

◆ plugin_msg

EventVar AisDecoder::plugin_msg

A JSON message should be sent.

Contains a AisTargetData* pointer.

Definition at line 126 of file ais_decoder.h.

◆ touch_state

EventVar AisDecoder::touch_state

Notified when gFrame->TouchAISActive() should be invoked.

Definition at line 114 of file ais_decoder.h.


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