|
OpenCPN Partial API docs
|
Filter reading driver driver_stats status reports from CommDriverRegistry transforming these to a stream of ConnData updates;. More...
#include <conn_states.h>
Public Member Functions | |
| ConnStates (const ConnStates &)=delete | |
| void | HandleDriverStats (const struct DriverStats &stats) |
| ConnState | GetDriverState (NavAddr::Bus bus, const std::string &iface) |
Public Attributes | |
| EventVar | evt_conn_status_change |
| Notified with a shared_ptr<ConnData> when the state is changed. | |
Filter reading driver driver_stats status reports from CommDriverRegistry transforming these to a stream of ConnData updates;.
Definition at line 64 of file conn_states.h.
| ConnStates::ConnStates | ( | ) |
Definition at line 46 of file conn_states.cpp.
| ConnState ConnStates::GetDriverState | ( | NavAddr::Bus | bus, |
| const std::string & | iface | ||
| ) |
Definition at line 88 of file conn_states.cpp.
| void ConnStates::HandleDriverStats | ( | const struct DriverStats & | stats | ) |
Definition at line 54 of file conn_states.cpp.
| EventVar ConnStates::evt_conn_status_change |
Notified with a shared_ptr<ConnData> when the state is changed.
Definition at line 70 of file conn_states.h.