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

Public Member Functions

 AisTargetData (AisTargetCallbacks callbacks)
 
wxString BuildQueryResult (void)
 
wxString GetRolloverString (void)
 
wxString Get_vessel_type_string (bool b_short=false)
 
wxString Get_class_string (bool b_short=false)
 
wxString GetFullName (void)
 
wxString GetCountryCode (bool b_CntryLongStr)
 
wxString GetNatureofDistress (int dscnature)
 
void Toggle_AIS_CPA (void)
 
void ToggleShowTrack (void)
 
void CloneFrom (AisTargetData *q)
 

Public Attributes

int MID
 
int MMSI
 
ais_transponder_class Class
 
int NavStatus
 
int SyncState
 
int SlotTO
 
double SOG
 
double COG
 
double HDG
 
double Lon
 
double Lat
 
int ROTAIS
 
int ROTIND
 
char CallSign [CALL_SIGN_LEN]
 
char ShipName [SHIP_NAME_LEN]
 
char ShipNameExtension [15]
 
unsigned char ShipType
 
int IMO
 
int DimA
 
int DimB
 
int DimC
 
int DimD
 
double Euro_Length
 
double Euro_Beam
 
double Euro_Draft
 
char Euro_VIN [EURO_VIN_LEN]
 
int UN_shiptype
 
bool b_isEuroInland
 
bool b_hasInlandDac
 
bool b_blue_paddle
 
int blue_paddle
 
int ETA_Mo
 
int ETA_Day
 
int ETA_Hr
 
int ETA_Min
 
double Draft
 
char Destination [DESTINATION_LEN]
 
time_t PositionReportTicks
 
time_t StaticReportTicks
 
int RecentPeriod
 
bool b_active
 
bool b_lost
 
bool b_removed
 
ais_alert_type n_alert_state
 
bool b_suppress_audio
 
bool b_positionDoubtful
 
bool b_positionOnceValid
 
bool b_nameValid
 
bool b_isFollower
 
bool b_isDSCtarget
 
int m_dscNature
 
int m_dscTXmmsi
 
bool b_NoTrack
 
bool b_OwnShip
 
bool b_PersistTrack
 
bool b_mPropPersistTrack
 
int m_utc_hour
 
int m_utc_min
 
int m_utc_sec
 
wxString m_date_string
 
wxDateTime m_ack_time
 
bool b_in_ack_timeout
 
double Range_NM
 
double Brg
 
wxString MSG_14_text
 
bool bCPA_Valid
 
double TCPA
 
double CPA
 
bool b_show_AIS_CPA
 
bool b_show_track
 
std::vector< AISTargetTrackPointm_ptrack
 
std::unordered_map< int, Ais8_001_22area_notices
 
bool b_SarAircraftPosnReport
 
int altitude
 
bool b_nameFromCache
 
float importance
 
short last_scale [AIS_TARGETDATA_MAX_CANVAS]
 
long dsc_NatureOfDistress
 

Friends

class AisTargetDataMaker
 

Detailed Description

Definition at line 149 of file ais_target_data.h.

Constructor & Destructor Documentation

◆ AisTargetData()

AisTargetData::AisTargetData ( AisTargetCallbacks  callbacks)

Definition at line 124 of file ais_target_data.cpp.

◆ ~AisTargetData()

AisTargetData::~AisTargetData ( )

Definition at line 299 of file ais_target_data.cpp.

Member Function Documentation

◆ BuildQueryResult()

wxString AisTargetData::BuildQueryResult ( void  )

Definition at line 319 of file ais_target_data.cpp.

◆ CloneFrom()

void AisTargetData::CloneFrom ( AisTargetData q)

Definition at line 214 of file ais_target_data.cpp.

◆ Get_class_string()

wxString AisTargetData::Get_class_string ( bool  b_short = false)

Definition at line 955 of file ais_target_data.cpp.

◆ Get_vessel_type_string()

wxString AisTargetData::Get_vessel_type_string ( bool  b_short = false)

Definition at line 876 of file ais_target_data.cpp.

◆ GetCountryCode()

wxString AisTargetData::GetCountryCode ( bool  b_CntryLongStr)

Definition at line 1008 of file ais_target_data.cpp.

◆ GetFullName()

wxString AisTargetData::GetFullName ( void  )

Definition at line 301 of file ais_target_data.cpp.

◆ GetNatureofDistress()

wxString AisTargetData::GetNatureofDistress ( int  dscnature)

Definition at line 984 of file ais_target_data.cpp.

◆ GetRolloverString()

wxString AisTargetData::GetRolloverString ( void  )

Definition at line 751 of file ais_target_data.cpp.

◆ Toggle_AIS_CPA()

void AisTargetData::Toggle_AIS_CPA ( void  )

Definition at line 998 of file ais_target_data.cpp.

◆ ToggleShowTrack()

void AisTargetData::ToggleShowTrack ( void  )

Definition at line 1002 of file ais_target_data.cpp.

Friends And Related Function Documentation

◆ AisTargetDataMaker

friend class AisTargetDataMaker
friend

Definition at line 150 of file ais_target_data.h.

Member Data Documentation

◆ altitude

int AisTargetData::altitude

Definition at line 259 of file ais_target_data.h.

◆ area_notices

std::unordered_map<int, Ais8_001_22> AisTargetData::area_notices

Definition at line 257 of file ais_target_data.h.

◆ b_active

bool AisTargetData::b_active

Definition at line 214 of file ais_target_data.h.

◆ b_blue_paddle

bool AisTargetData::b_blue_paddle

Definition at line 198 of file ais_target_data.h.

◆ b_hasInlandDac

bool AisTargetData::b_hasInlandDac

Definition at line 197 of file ais_target_data.h.

◆ b_in_ack_timeout

bool AisTargetData::b_in_ack_timeout

Definition at line 239 of file ais_target_data.h.

◆ b_isDSCtarget

bool AisTargetData::b_isDSCtarget

Definition at line 223 of file ais_target_data.h.

◆ b_isEuroInland

bool AisTargetData::b_isEuroInland

Definition at line 196 of file ais_target_data.h.

◆ b_isFollower

bool AisTargetData::b_isFollower

Definition at line 222 of file ais_target_data.h.

◆ b_lost

bool AisTargetData::b_lost

Definition at line 215 of file ais_target_data.h.

◆ b_mPropPersistTrack

bool AisTargetData::b_mPropPersistTrack

Definition at line 231 of file ais_target_data.h.

◆ b_nameFromCache

bool AisTargetData::b_nameFromCache

Definition at line 260 of file ais_target_data.h.

◆ b_nameValid

bool AisTargetData::b_nameValid

Definition at line 221 of file ais_target_data.h.

◆ b_NoTrack

bool AisTargetData::b_NoTrack

Definition at line 228 of file ais_target_data.h.

◆ b_OwnShip

bool AisTargetData::b_OwnShip

Definition at line 229 of file ais_target_data.h.

◆ b_PersistTrack

bool AisTargetData::b_PersistTrack

Definition at line 230 of file ais_target_data.h.

◆ b_positionDoubtful

bool AisTargetData::b_positionDoubtful

Definition at line 219 of file ais_target_data.h.

◆ b_positionOnceValid

bool AisTargetData::b_positionOnceValid

Definition at line 220 of file ais_target_data.h.

◆ b_removed

bool AisTargetData::b_removed

Definition at line 216 of file ais_target_data.h.

◆ b_SarAircraftPosnReport

bool AisTargetData::b_SarAircraftPosnReport

Definition at line 258 of file ais_target_data.h.

◆ b_show_AIS_CPA

bool AisTargetData::b_show_AIS_CPA

Definition at line 251 of file ais_target_data.h.

◆ b_show_track

bool AisTargetData::b_show_track

Definition at line 253 of file ais_target_data.h.

◆ b_suppress_audio

bool AisTargetData::b_suppress_audio

Definition at line 218 of file ais_target_data.h.

◆ bCPA_Valid

bool AisTargetData::bCPA_Valid

Definition at line 247 of file ais_target_data.h.

◆ blue_paddle

int AisTargetData::blue_paddle

Definition at line 199 of file ais_target_data.h.

◆ Brg

double AisTargetData::Brg

Definition at line 242 of file ais_target_data.h.

◆ CallSign

char AisTargetData::CallSign[CALL_SIGN_LEN]

Definition at line 180 of file ais_target_data.h.

◆ Class

ais_transponder_class AisTargetData::Class

Definition at line 169 of file ais_target_data.h.

◆ COG

double AisTargetData::COG

Definition at line 174 of file ais_target_data.h.

◆ CPA

double AisTargetData::CPA

Definition at line 249 of file ais_target_data.h.

◆ Destination

char AisTargetData::Destination[DESTINATION_LEN]

Definition at line 208 of file ais_target_data.h.

◆ DimA

int AisTargetData::DimA

Definition at line 186 of file ais_target_data.h.

◆ DimB

int AisTargetData::DimB

Definition at line 187 of file ais_target_data.h.

◆ DimC

int AisTargetData::DimC

Definition at line 188 of file ais_target_data.h.

◆ DimD

int AisTargetData::DimD

Definition at line 189 of file ais_target_data.h.

◆ Draft

double AisTargetData::Draft

Definition at line 206 of file ais_target_data.h.

◆ dsc_NatureOfDistress

long AisTargetData::dsc_NatureOfDistress

Definition at line 265 of file ais_target_data.h.

◆ ETA_Day

int AisTargetData::ETA_Day

Definition at line 202 of file ais_target_data.h.

◆ ETA_Hr

int AisTargetData::ETA_Hr

Definition at line 203 of file ais_target_data.h.

◆ ETA_Min

int AisTargetData::ETA_Min

Definition at line 204 of file ais_target_data.h.

◆ ETA_Mo

int AisTargetData::ETA_Mo

Definition at line 201 of file ais_target_data.h.

◆ Euro_Beam

double AisTargetData::Euro_Beam

Definition at line 192 of file ais_target_data.h.

◆ Euro_Draft

double AisTargetData::Euro_Draft

Definition at line 193 of file ais_target_data.h.

◆ Euro_Length

double AisTargetData::Euro_Length

Definition at line 191 of file ais_target_data.h.

◆ Euro_VIN

char AisTargetData::Euro_VIN[EURO_VIN_LEN]

Definition at line 194 of file ais_target_data.h.

◆ HDG

double AisTargetData::HDG

Definition at line 175 of file ais_target_data.h.

◆ IMO

int AisTargetData::IMO

Definition at line 184 of file ais_target_data.h.

◆ importance

float AisTargetData::importance

Definition at line 261 of file ais_target_data.h.

◆ last_scale

short AisTargetData::last_scale[AIS_TARGETDATA_MAX_CANVAS]

Definition at line 262 of file ais_target_data.h.

◆ Lat

double AisTargetData::Lat

Definition at line 177 of file ais_target_data.h.

◆ Lon

double AisTargetData::Lon

Definition at line 176 of file ais_target_data.h.

◆ m_ack_time

wxDateTime AisTargetData::m_ack_time

Definition at line 238 of file ais_target_data.h.

◆ m_date_string

wxString AisTargetData::m_date_string

Definition at line 236 of file ais_target_data.h.

◆ m_dscNature

int AisTargetData::m_dscNature

Definition at line 224 of file ais_target_data.h.

◆ m_dscTXmmsi

int AisTargetData::m_dscTXmmsi

Definition at line 225 of file ais_target_data.h.

◆ m_ptrack

std::vector<AISTargetTrackPoint> AisTargetData::m_ptrack

Definition at line 255 of file ais_target_data.h.

◆ m_utc_hour

int AisTargetData::m_utc_hour

Definition at line 233 of file ais_target_data.h.

◆ m_utc_min

int AisTargetData::m_utc_min

Definition at line 234 of file ais_target_data.h.

◆ m_utc_sec

int AisTargetData::m_utc_sec

Definition at line 235 of file ais_target_data.h.

◆ MID

int AisTargetData::MID

Definition at line 167 of file ais_target_data.h.

◆ MMSI

int AisTargetData::MMSI

Definition at line 168 of file ais_target_data.h.

◆ MSG_14_text

wxString AisTargetData::MSG_14_text

Definition at line 244 of file ais_target_data.h.

◆ n_alert_state

ais_alert_type AisTargetData::n_alert_state

Definition at line 217 of file ais_target_data.h.

◆ NavStatus

int AisTargetData::NavStatus

Definition at line 170 of file ais_target_data.h.

◆ PositionReportTicks

time_t AisTargetData::PositionReportTicks

Definition at line 210 of file ais_target_data.h.

◆ Range_NM

double AisTargetData::Range_NM

Definition at line 241 of file ais_target_data.h.

◆ RecentPeriod

int AisTargetData::RecentPeriod

Definition at line 213 of file ais_target_data.h.

◆ ROTAIS

int AisTargetData::ROTAIS

Definition at line 178 of file ais_target_data.h.

◆ ROTIND

int AisTargetData::ROTIND

Definition at line 179 of file ais_target_data.h.

◆ ShipName

char AisTargetData::ShipName[SHIP_NAME_LEN]

Definition at line 181 of file ais_target_data.h.

◆ ShipNameExtension

char AisTargetData::ShipNameExtension[15]

Definition at line 182 of file ais_target_data.h.

◆ ShipType

unsigned char AisTargetData::ShipType

Definition at line 183 of file ais_target_data.h.

◆ SlotTO

int AisTargetData::SlotTO

Definition at line 172 of file ais_target_data.h.

◆ SOG

double AisTargetData::SOG

Definition at line 173 of file ais_target_data.h.

◆ StaticReportTicks

time_t AisTargetData::StaticReportTicks

Definition at line 211 of file ais_target_data.h.

◆ SyncState

int AisTargetData::SyncState

Definition at line 171 of file ais_target_data.h.

◆ TCPA

double AisTargetData::TCPA

Definition at line 248 of file ais_target_data.h.

◆ UN_shiptype

int AisTargetData::UN_shiptype

Definition at line 195 of file ais_target_data.h.


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