|
OpenCPN Partial API docs
|
Public Member Functions | |
| CommDriverN0183Serial (const ConnectionParams *params, DriverListener &l) | |
| bool | Open () |
| void | Close () |
| bool | IsSecThreadActive () |
| bool | IsGarminThreadActive () |
| void | StopGarminUSBIOThread (bool bPause) |
| ConnectionParams | GetParams () const |
| bool | SendMessage (std::shared_ptr< const NavMsg > msg, std::shared_ptr< const NavAddr > addr) override |
| DriverStats | GetDriverStats () const override |
Public Member Functions inherited from CommDriverN0183 | |
| CommDriverN0183 (NavAddr::Bus b, const std::string &s) | |
| void | SetListener (DriverListener &l) override |
| Set the entity which will receive incoming data. | |
| virtual std::shared_ptr< NavAddr > | GetAddress () |
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. | |
| 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 40 of file comm_drv_n0183_serial.h.
| CommDriverN0183Serial::CommDriverN0183Serial | ( | const ConnectionParams * | params, |
| DriverListener & | l ) |
Definition at line 52 of file comm_drv_n0183_serial.cpp.
|
virtual |
Definition at line 71 of file comm_drv_n0183_serial.cpp.
| void CommDriverN0183Serial::Close | ( | ) |
Definition at line 97 of file comm_drv_n0183_serial.cpp.
|
inlineoverridevirtual |
Implements DriverStatsProvider.
Definition at line 61 of file comm_drv_n0183_serial.h.
|
inline |
Definition at line 56 of file comm_drv_n0183_serial.h.
| bool CommDriverN0183Serial::IsGarminThreadActive | ( | ) |
Definition at line 121 of file comm_drv_n0183_serial.cpp.
|
inline |
Definition at line 51 of file comm_drv_n0183_serial.h.
| bool CommDriverN0183Serial::Open | ( | ) |
Definition at line 73 of file comm_drv_n0183_serial.cpp.
|
overridevirtual |
Implements CommDriverN0183.
Definition at line 141 of file comm_drv_n0183_serial.cpp.
| void CommDriverN0183Serial::StopGarminUSBIOThread | ( | bool | bPause | ) |
Definition at line 135 of file comm_drv_n0183_serial.cpp.