OpenCPN Partial API docs
|
A parsed SignalK message over ipv4. More...
#include <comm_navmsg.h>
Public Member Functions | |
SignalkMsg (std::string _context_self, std::string _context, std::string _raw_message, std::string _iface) | |
std::string | key () const |
Return unique key used by observable to notify/listen. | |
std::string | to_string () const |
Return printable string for logging etc without trailing nl. | |
![]() | |
virtual std::string | to_vdr () const |
Return message in unquoted format used by VDR plugin, see https://opencpn-manuals.github.io/main/vdr/log_format.html. | |
std::string | GetKey () const |
Alias for key(). | |
Public Attributes | |
struct in_addr | dest |
struct in_addr | src |
std::string | context_self |
std::string | context |
std::string | raw_message |
![]() | |
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. | |
const NavmsgTimePoint | created_at |
Additional Inherited Members | |
![]() | |
NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src) | |
A parsed SignalK message over ipv4.
Definition at line 372 of file comm_navmsg.h.
|
inline |
Definition at line 374 of file comm_navmsg.h.
|
inline |
Definition at line 377 of file comm_navmsg.h.
|
inlinevirtual |
Return unique key used by observable to notify/listen.
Implements NavMsg.
Definition at line 387 of file comm_navmsg.h.
|
inlinevirtual |
Return printable string for logging etc without trailing nl.
Reimplemented from NavMsg.
Definition at line 389 of file comm_navmsg.h.
std::string SignalkMsg::context |
Definition at line 394 of file comm_navmsg.h.
std::string SignalkMsg::context_self |
Definition at line 393 of file comm_navmsg.h.
struct in_addr SignalkMsg::dest |
Definition at line 391 of file comm_navmsg.h.
std::string SignalkMsg::raw_message |
Definition at line 395 of file comm_navmsg.h.
struct in_addr SignalkMsg::src |
Definition at line 392 of file comm_navmsg.h.