|
OpenCPN Partial API docs
|
An invalid message, error return value. More...
#include <comm_navmsg.h>
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. | |
| 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 Member Functions inherited from KeyProvider | |
| virtual | ~KeyProvider ()=default |
| Destroy the Key Provider object. | |
Additional Inherited Members | |
Public Types inherited from NavMsg | |
| enum class | State { kOk , kCannotParse , kBadChecksum , kFiltered } |
Static Public Member Functions inherited from NavMsg | |
| static NavAddr::Bus | GetBusByKey (const std::string &key) |
| Return bus corresponding to given key. | |
Public Attributes inherited from NavMsg | |
| const NavAddr::Bus | bus |
| const State | state |
| 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 |
Protected Member Functions inherited from NavMsg | |
| NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src, State _state) | |
| NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src) | |
An invalid message, error return value.
Definition at line 417 of file comm_navmsg.h.
|
inline |
Definition at line 419 of file comm_navmsg.h.
|
inlinevirtual |
Return unique key used by observable to notify/listen.
Implements NavMsg.
Definition at line 424 of file comm_navmsg.h.