|
OpenCPN Partial API docs
|
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. More... | |
| virtual std::shared_ptr< NavAddr > | GetAddress () |
| void | Activate () override |
| Register driver in the driver Registry. | |
Public Member Functions inherited from AbstractCommDriver | |
| virtual std::pair< CommStatus, std::string > | Clone () |
| Create a new virtual interface using a new instance of this driver. More... | |
| std::string | Key () const |
| virtual std::unordered_map< std::string, std::string > | GetAttributes () const |
Additional Inherited Members | |
Public Attributes inherited from AbstractCommDriver | |
| const NavAddr::Bus | bus |
| const std::string | iface |
| Physical device for 0183, else a unique string. | |
| std::unordered_map< std::string, std::string > | attributes |
Protected Member Functions inherited from AbstractCommDriver | |
| AbstractCommDriver (NavAddr::Bus b) | |
| AbstractCommDriver (NavAddr::Bus b, const std::string &s) | |
Definition at line 33 of file comm_drv_n0183.h.
|
inlineoverridevirtual |
Set the entity which will receive incoming data.
By default, such data is ignored
Reimplemented from AbstractCommDriver.
Definition at line 43 of file comm_drv_n0183.h.