|
OpenCPN Partial API docs
|
Driver registration container, a singleton. More...
Go to the source code of this file.
Classes | |
| class | CommDriverRegistry |
| The global driver registry, a singleton. More... | |
Typedefs | |
| using | DriverPtr = std::unique_ptr< AbstractCommDriver > |
Functions | |
| DriverPtr & | FindDriver (const std::vector< DriverPtr > &drivers, const std::string &iface, const NavAddr::Bus _bus=NavAddr::Bus::Undef) |
| Search list of drivers for a driver with given interface string. | |
Driver registration container, a singleton.
Definition in file comm_drv_registry.h.
| using DriverPtr = std::unique_ptr<AbstractCommDriver> |
Definition at line 31 of file comm_drv_registry.h.
| DriverPtr & FindDriver | ( | const std::vector< DriverPtr > & | drivers, |
| const std::string & | iface, | ||
| const NavAddr::Bus | _bus = NavAddr::Bus::Undef |
||
| ) |
Search list of drivers for a driver with given interface string.
Definition at line 65 of file comm_drv_registry.cpp.