OpenCPN Partial API docs
|
Application layer messaging, a singleton. More...
#include <comm_appmsg_bus.h>
Public Member Functions | |
void | Notify (std::shared_ptr< const AppMsg > msg) |
Send message to everyone listening to given message type. | |
void | set_priority (AppMsg::Type data, const NavAddr &src, unsigned prio) |
Set the priority for a given data source providing data. More... | |
Static Public Member Functions | |
static AppMsgBus & | GetInstance () |
Application layer messaging, a singleton.
Definition at line 42 of file comm_appmsg_bus.h.
void AppMsgBus::set_priority | ( | AppMsg::Type | data, |
const NavAddr & | src, | ||
unsigned | prio | ||
) |
Set the priority for a given data source providing data.
Higher priorities are preferred.