OpenCPN Partial API docs
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.
 
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 100 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 139 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 127 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 133 of file ais_decoder.h.

◆ new_track

EventVar AisDecoder::new_track

Notified on new track creation.

Contains a Track* pointer.

Definition at line 136 of file ais_decoder.h.

◆ plugin_msg

EventVar AisDecoder::plugin_msg

A JSON message should be sent.

Contains a AisTargetData* pointer.

Definition at line 142 of file ais_decoder.h.


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