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

An invalid message, error return value. More...

#include <comm_navmsg.h>

Inheritance diagram for NullNavMsg:
NavMsg KeyProvider

Public Member Functions

std::string key () const
 Return unique key used by observable to notify/listen.
 
- Public Member Functions inherited from NavMsg
virtual std::string to_string () const
 Return printable string for logging etc without trailing nl.
 
std::string GetKey () const
 Alias for key().
 

Additional Inherited Members

- Public Attributes inherited from NavMsg
const NavAddr::Bus bus
 
std::shared_ptr< const NavAddrsource
 Source address is set by drivers when receiving, unused and should be empty when sending.
 
- Protected Member Functions inherited from NavMsg
 NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src)
 

Detailed Description

An invalid message, error return value.

Definition at line 368 of file comm_navmsg.h.

Constructor & Destructor Documentation

◆ NullNavMsg()

NullNavMsg::NullNavMsg ( )
inline

Definition at line 370 of file comm_navmsg.h.

Member Function Documentation

◆ key()

std::string NullNavMsg::key ( ) const
inlinevirtual

Return unique key used by observable to notify/listen.

Implements NavMsg.

Definition at line 375 of file comm_navmsg.h.


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