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 65 of file conn_states.h.
ConnStates::ConnStates | ( | ) |
Definition at line 47 of file conn_states.cpp.
ConnState ConnStates::GetDriverState | ( | NavAddr::Bus | bus, |
const std::string & | iface | ||
) |
Definition at line 89 of file conn_states.cpp.
void ConnStates::HandleDriverStats | ( | const struct DriverStats & | stats | ) |
Definition at line 55 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 71 of file conn_states.h.