OpenCPN Partial API docs
Loading...
Searching...
No Matches
NavMsg Class Referenceabstract

Actual data sent between application and transport layer. More...

#include <comm_navmsg.h>

Inheritance diagram for NavMsg:
KeyProvider Nmea0183Msg Nmea2000Msg NullNavMsg SignalkMsg

Public Member Functions

virtual std::string key () const =0
 
virtual std::string to_string () const
 
std::string GetKey () const
 Return key used to listen and notify. More...
 
virtual std::string GetKey () const =0
 Return key used to listen and notify. More...
 

Public Attributes

const NavAddr::Bus bus
 
std::shared_ptr< const NavAddrsource
 

Protected Member Functions

 NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src)
 

Detailed Description

Actual data sent between application and transport layer.

Definition at line 193 of file comm_navmsg.h.

Constructor & Destructor Documentation

◆ NavMsg()

NavMsg::NavMsg ( const NavAddr::Bus &  _bus,
std::shared_ptr< const NavAddr src 
)
inlineprotected

Definition at line 210 of file comm_navmsg.h.

Member Function Documentation

◆ GetKey()

std::string NavMsg::GetKey ( ) const
inlinevirtual

Return key used to listen and notify.

Implements KeyProvider.

Definition at line 203 of file comm_navmsg.h.

◆ to_string()

virtual std::string NavMsg::to_string ( ) const
inlinevirtual

Reimplemented in Nmea2000Msg.

Definition at line 199 of file comm_navmsg.h.

Member Data Documentation

◆ bus

const NavAddr::Bus NavMsg::bus

Definition at line 205 of file comm_navmsg.h.

◆ source

std::shared_ptr<const NavAddr> NavMsg::source

Definition at line 207 of file comm_navmsg.h.


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