OpenCPN Partial API docs
|
Implement comm_drv_registry.h. More...
#include <algorithm>
#include <memory>
#include "model/comm_driver.h"
#include "model/comm_drv_registry.h"
Go to the source code of this file.
Functions | |
std::unique_ptr< AbstractCommDriver > | kNoDriver (nullptr) |
DriverPtr & | FindDriver (const std::vector< DriverPtr > &drivers, const std::string &iface, const NavAddr::Bus _bus) |
Search list of drivers for a driver with given interface string. | |
Implement comm_drv_registry.h.
Definition in file comm_drv_registry.cpp.
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 66 of file comm_drv_registry.cpp.