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

AIS data point for a vessel. More...

#include <comm_appmsg.h>

Inheritance diagram for AisData:
AppMsg KeyProvider

Public Attributes

time_t time
 
Position pos
 
float sog
 
float cog
 
float heading
 
float rate_of_turn
 
uint8_t type
 
std::string name
 
std::string callsign
 
std::string dest
 
int length
 
int beam
 
int draft
 
uint8_t status
 
- Public Attributes inherited from AppMsg
const Type type
 
const std::string name
 
NavAddr source
 
unsigned short prio
 

Additional Inherited Members

- Public Types inherited from AppMsg
enum class  Type {
  BasicNavData , GPSWatchdog , GnssFix , AisData ,
  DataPrioNeeded , CustomMsg , Undef
}
 
- Public Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type t)
 
virtual std::string key () const
 
std::string GetKey () const
 Return key used to listen and notify. More...
 
std::string TypeToString (const Type t) const
 
virtual std::string GetKey () const =0
 Return key used to listen and notify. More...
 
- Protected Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src)
 

Detailed Description

AIS data point for a vessel.

Definition at line 208 of file comm_appmsg.h.

Member Data Documentation

◆ beam

int AisData::beam

Definition at line 221 of file comm_appmsg.h.

◆ callsign

std::string AisData::callsign

Definition at line 218 of file comm_appmsg.h.

◆ cog

float AisData::cog

Definition at line 213 of file comm_appmsg.h.

◆ dest

std::string AisData::dest

Definition at line 219 of file comm_appmsg.h.

◆ draft

int AisData::draft

Definition at line 222 of file comm_appmsg.h.

◆ heading

float AisData::heading

Definition at line 214 of file comm_appmsg.h.

◆ length

int AisData::length

Definition at line 220 of file comm_appmsg.h.

◆ name

std::string AisData::name

Definition at line 217 of file comm_appmsg.h.

◆ pos

Position AisData::pos

Definition at line 211 of file comm_appmsg.h.

◆ rate_of_turn

float AisData::rate_of_turn

Definition at line 215 of file comm_appmsg.h.

◆ sog

float AisData::sog

Definition at line 212 of file comm_appmsg.h.

◆ status

uint8_t AisData::status

Definition at line 223 of file comm_appmsg.h.

◆ time

time_t AisData::time

Definition at line 210 of file comm_appmsg.h.

◆ type

uint8_t AisData::type

Definition at line 216 of file comm_appmsg.h.


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