OpenCPN Partial API docs
|
NMEA0183 drivers common part. More...
#include <comm_drv_n0183.h>
Public Member Functions | |
CommDriverN0183 (NavAddr::Bus b, const std::string &s) | |
virtual bool | SendMessage (std::shared_ptr< const NavMsg > msg, std::shared_ptr< const NavAddr > addr) override=0 |
void | SetListener (DriverListener &l) override |
Set the entity which will receive incoming data. | |
virtual std::shared_ptr< NavAddr > | GetAddress () |
![]() | |
virtual std::pair< CommStatus, std::string > | Clone () |
Create a new virtual interface using a new instance of this driver. | |
std::string | Key () const |
virtual std::unordered_map< std::string, std::string > | GetAttributes () const |
Additional Inherited Members | |
![]() | |
const NavAddr::Bus | bus |
const std::string | iface |
Physical device for 0183, else a unique string. | |
std::unordered_map< std::string, std::string > | attributes |
![]() | |
AbstractCommDriver (NavAddr::Bus b) | |
AbstractCommDriver (NavAddr::Bus b, const std::string &s) | |
NMEA0183 drivers common part.
Definition at line 35 of file comm_drv_n0183.h.
CommDriverN0183::CommDriverN0183 | ( | ) |
Definition at line 35 of file comm_drv_n0183.cpp.
CommDriverN0183::CommDriverN0183 | ( | NavAddr::Bus | b, |
const std::string & | s | ||
) |
Definition at line 37 of file comm_drv_n0183.cpp.
|
virtual |
Definition at line 40 of file comm_drv_n0183.cpp.
|
inlinevirtual |
Definition at line 47 of file comm_drv_n0183.h.
|
overridepure virtual |
Implements AbstractCommDriver.
|
inlineoverridevirtual |
Set the entity which will receive incoming data.
By default, such data is ignored
Reimplemented from AbstractCommDriver.
Definition at line 45 of file comm_drv_n0183.h.