OpenCPN Partial API docs
|
Global heartbeat message with decoded values for position, speed course, etc. More...
#include <comm_appmsg.h>
Public Member Functions | |
BasicNavDataMsg (double lat, double lon, double SOG, double COG, double VAR, double HDT, time_t t) | |
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... | |
Public Attributes | |
const Position | pos |
const double | sog |
const double | cog |
const double | var |
const double | hdt |
const time_t | time |
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 } |
Protected Member Functions inherited from AppMsg | |
AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src) | |
Global heartbeat message with decoded values for position, speed course, etc.
Definition at line 161 of file comm_appmsg.h.
|
inline |
Definition at line 163 of file comm_appmsg.h.
|
inline |
Definition at line 173 of file comm_appmsg.h.
const double BasicNavDataMsg::cog |
Definition at line 185 of file comm_appmsg.h.
const double BasicNavDataMsg::hdt |
Definition at line 187 of file comm_appmsg.h.
const Position BasicNavDataMsg::pos |
Definition at line 183 of file comm_appmsg.h.
const double BasicNavDataMsg::sog |
Definition at line 184 of file comm_appmsg.h.
const time_t BasicNavDataMsg::time |
Definition at line 188 of file comm_appmsg.h.
const double BasicNavDataMsg::var |
Definition at line 186 of file comm_appmsg.h.