OpenCPN Partial API docs
|
Public Member Functions | |
CommDriverN0183AndroidInt (const ConnectionParams *params, DriverListener &l) | |
bool | Open () |
void | Close () |
ConnectionParams | GetParams () const |
bool | SendMessage (std::shared_ptr< const NavMsg > msg, std::shared_ptr< const NavAddr > addr) override |
![]() | |
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 () |
![]() | |
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) | |
Definition at line 56 of file comm_drv_n0183_android_int.h.
CommDriverN0183AndroidInt::CommDriverN0183AndroidInt | ( | const ConnectionParams * | params, |
DriverListener & | l | ||
) |
Definition at line 174 of file comm_drv_n0183_android_int.cpp.
|
virtual |
Definition at line 192 of file comm_drv_n0183_android_int.cpp.
void CommDriverN0183AndroidInt::Close | ( | ) |
Definition at line 199 of file comm_drv_n0183_android_int.cpp.
|
inline |
Definition at line 65 of file comm_drv_n0183_android_int.h.
bool CommDriverN0183AndroidInt::Open | ( | ) |
Definition at line 194 of file comm_drv_n0183_android_int.cpp.
|
overridevirtual |
Implements CommDriverN0183.
Definition at line 209 of file comm_drv_n0183_android_int.cpp.