|
| AppNavMsg (const std::shared_ptr< const AppMsg > &msg, const string &name) |
|
string | to_string () const override |
| Return printable string for logging etc without trailing nl.
|
|
string | key () const override |
| Return unique key used by observable to notify/listen.
|
|
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().
|
|
virtual | ~KeyProvider ()=default |
| Destroy the Key Provider object.
|
|
|
const string | m_to_string |
|
const string | m_name |
|
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 |
|
|
enum class | State { kOk
, kCannotParse
, kBadChecksum
, kFiltered
} |
|
static NavAddr::Bus | GetBusByKey (const std::string &key) |
| Return bus corresponding to given key.
|
|
| NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src, State _state) |
|
| NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src) |
|
Definition at line 92 of file comm_bridge.cpp.
◆ AppNavMsg()
AppNavMsg::AppNavMsg |
( |
const std::shared_ptr< const AppMsg > & |
msg, |
|
|
const string & |
name |
|
) |
| |
|
inline |
◆ key()
string AppNavMsg::key |
( |
| ) |
const |
|
inlineoverridevirtual |
Return unique key used by observable to notify/listen.
Implements NavMsg.
Definition at line 102 of file comm_bridge.cpp.
◆ to_string()
string AppNavMsg::to_string |
( |
| ) |
const |
|
inlineoverridevirtual |
Return printable string for logging etc without trailing nl.
Reimplemented from NavMsg.
Definition at line 100 of file comm_bridge.cpp.
◆ m_name
const string AppNavMsg::m_name |
◆ m_to_string
const string AppNavMsg::m_to_string |
The documentation for this class was generated from the following file: