41#include "observable.h"
45 m_listener(listener) {
46 this->attributes[
"commPort"] =
"internal";
47 this->attributes[
"ioDirection"] =
"OUT";
51 std::shared_ptr<const NavAddr> addr) {
52 auto msg_plugin = std::dynamic_pointer_cast<const PluginMsg>(msg);
54 WARNING_LOG <<
" CommDriverInternal::SendMessage::Illegal message type";
57 NavMsgBus::GetInstance().
Notify(msg_plugin);
Common interface for all drivers.
bool SendMessage(std::shared_ptr< const NavMsg > msg, std::shared_ptr< const NavAddr > addr) override
Send a message to all plugins and core on internal bus.
Interface implemented by transport layer and possible other parties like test code which should handl...
Where messages are sent to or received from.
void Notify(std::shared_ptr< const NavMsg > message)
Accept message received by driver, make it available for upper layers.
Plugin ABI encapsulation.
Internal send-only driver, send to plugins.
Driver registration container, a singleton.
Raw messages layer, supports sending and recieving navmsg messages.
Enhanced logging interface on top of wx/log.h.