|
OpenCPN Partial API docs
|
Message withg decoded values, available on AppMsgBus. More...
#include <comm_appmsg.h>
Public Types | |
| enum class | Type { BasicNavData , GPSWatchdog , GnssFix , AisData , DataPrioNeeded , CustomMsg , Undef } |
Public Member Functions | |
| AppMsg (AppMsg::Type t) | |
| virtual std::string | key () const |
| std::string | GetKey () const |
| Return key used to listen and notify. More... | |
| std::string | TypeToString (const Type t) const |
| virtual std::string | GetKey () const =0 |
| Return key used to listen and notify. More... | |
Public Attributes | |
| const Type | type |
| const std::string | name |
| NavAddr | source |
| unsigned short | prio |
Protected Member Functions | |
| AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src) | |
Message withg decoded values, available on AppMsgBus.
Definition at line 90 of file comm_appmsg.h.
|
strong |
Definition at line 112 of file comm_appmsg.h.
|
inline |
Definition at line 93 of file comm_appmsg.h.
|
inlineprotected |
Definition at line 108 of file comm_appmsg.h.
|
inlinevirtual |
Return key used to listen and notify.
Implements KeyProvider.
Definition at line 98 of file comm_appmsg.h.
|
inlinevirtual |
Definition at line 96 of file comm_appmsg.h.
| std::string AppMsg::TypeToString | ( | const Type | t | ) | const |
Definition at line 156 of file comm_appmsg.cpp.
| const std::string AppMsg::name |
Definition at line 103 of file comm_appmsg.h.
| unsigned short AppMsg::prio |
Definition at line 105 of file comm_appmsg.h.
| NavAddr AppMsg::source |
Definition at line 104 of file comm_appmsg.h.
| const Type AppMsg::type |
Definition at line 102 of file comm_appmsg.h.