OpenCPN Partial API docs
|
The raw message layer, a singleton. More...
#include <comm_navmsg_bus.h>
Public Member Functions | |
NavMsgBus & | operator= (NavMsgBus &)=delete |
NavMsgBus (const NavMsgBus &)=delete | |
void | SendMessage (std::shared_ptr< const NavMsg > message, std::shared_ptr< const NavAddr > address) |
void | Notify (std::shared_ptr< const NavMsg > message) |
Handle a received message. More... | |
void | Notify (const AbstractCommDriver &driver) |
Handle changes in driver list. More... | |
virtual void | Notify (std::shared_ptr< const NavMsg > message)=0 |
Handle a received message. More... | |
virtual void | Notify (const AbstractCommDriver &driver)=0 |
Handle driver status change. More... | |
Static Public Member Functions | |
static NavMsgBus & | GetInstance () |
The raw message layer, a singleton.
Definition at line 43 of file comm_navmsg_bus.h.
|
static |
Definition at line 44 of file comm_navmsg_bus.cpp.
|
virtual |
Handle changes in driver list.
Implements DriverListener.
Definition at line 50 of file comm_navmsg_bus.cpp.
|
virtual |
Handle a received message.
Implements DriverListener.
Definition at line 40 of file comm_navmsg_bus.cpp.