OpenCPN Partial API docs
Loading...
Searching...
No Matches
DriverListener Class Referenceabstract

Interface implemented by transport layer and possible other parties like test code which should handle incoming messages. More...

#include <comm_driver.h>

Inheritance diagram for DriverListener:
NavMsgBus VoidDriverListener

Public Member Functions

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...
 

Detailed Description

Interface implemented by transport layer and possible other parties like test code which should handle incoming messages.

Definition at line 47 of file comm_driver.h.

Member Function Documentation

◆ Notify() [1/2]

virtual void DriverListener::Notify ( const AbstractCommDriver driver)
pure virtual

Handle driver status change.

Implemented in NavMsgBus.

◆ Notify() [2/2]

virtual void DriverListener::Notify ( std::shared_ptr< const NavMsg message)
pure virtual

Handle a received message.

Implemented in NavMsgBus.


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