OpenCPN Partial API docs
AppMsgBus Class Reference

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 AppMsgBusGetInstance ()
 

Detailed Description

Application layer messaging, a singleton.

Definition at line 42 of file comm_appmsg_bus.h.

Member Function Documentation

◆ set_priority()

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.


The documentation for this class was generated from the following files: