|
OpenCPN Partial API docs
|
Registry for active, running drivers. More...
#include <comm_drv_registry.h>
Public Member Functions | |
| void | Activate (DriverPtr driver) |
| Add driver to list of active drivers. More... | |
| void | Deactivate (DriverPtr driver) |
| Remove driver from list of active drivers. More... | |
| void | CloseAllDrivers () |
| Close and destroy all drivers completely. More... | |
| const std::vector< DriverPtr > & | GetDrivers () |
| void | TestDriver (ConnectionParams *params) |
Static Public Member Functions | |
| static CommDriverRegistry & | GetInstance () |
Public Attributes | |
| EventVar | evt_driverlist_change |
| Notified by all driverlist updates. More... | |
| EventVar | evt_driver_msg |
| Notified for messages from drivers. More... | |
Registry for active, running drivers.
Definition at line 42 of file comm_drv_registry.h.
| void CommDriverRegistry::Activate | ( | DriverPtr | driver | ) |
Add driver to list of active drivers.
Definition at line 38 of file comm_drv_registry.cpp.
| void CommDriverRegistry::CloseAllDrivers | ( | ) |
Close and destroy all drivers completely.
Definition at line 56 of file comm_drv_registry.cpp.
| void CommDriverRegistry::Deactivate | ( | DriverPtr | driver | ) |
Remove driver from list of active drivers.
Definition at line 45 of file comm_drv_registry.cpp.
| const std::vector< DriverPtr > & CommDriverRegistry::GetDrivers | ( | ) |
Definition at line 52 of file comm_drv_registry.cpp.
|
static |
Definition at line 62 of file comm_drv_registry.cpp.
| EventVar CommDriverRegistry::evt_driver_msg |
Notified for messages from drivers.
The generated event contains:
Definition at line 73 of file comm_drv_registry.h.
| EventVar CommDriverRegistry::evt_driverlist_change |
Notified by all driverlist updates.
Definition at line 65 of file comm_drv_registry.h.