OpenCPN Partial API docs
|
Actual data sent between application and transport layer. More...
#include <comm_navmsg.h>
Public Member Functions | |
virtual std::string | key () const =0 |
Return unique key used by observable to notify/listen. | |
virtual std::string | to_string () const |
Return printable string for logging etc without trailing nl. | |
std::string | GetKey () const |
Alias for key(). | |
Public Attributes | |
const NavAddr::Bus | bus |
std::shared_ptr< const NavAddr > | source |
Source address is set by drivers when receiving, unused and should be empty when sending. | |
Protected Member Functions | |
NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src) | |
Actual data sent between application and transport layer.
Definition at line 212 of file comm_navmsg.h.
|
inlineprotected |
Definition at line 236 of file comm_navmsg.h.
|
inlinevirtual |
|
pure virtual |
Return unique key used by observable to notify/listen.
Implemented in Nmea2000Msg, Nmea0183Msg, PluginMsg, SignalkMsg, and NullNavMsg.
|
inlinevirtual |
Return printable string for logging etc without trailing nl.
Reimplemented in Nmea2000Msg, Nmea0183Msg, and PluginMsg.
Definition at line 220 of file comm_navmsg.h.
const NavAddr::Bus NavMsg::bus |
Definition at line 227 of file comm_navmsg.h.
std::shared_ptr<const NavAddr> NavMsg::source |
Source address is set by drivers when receiving, unused and should be empty when sending.
Definition at line 233 of file comm_navmsg.h.