10 #ifndef DEVICEMANAGER_H
11 #define DEVICEMANAGER_H
20 #include <osgDB/DynamicLibrary>
33 int requestForDevice(
const std::string &
plugin_name,
const std::string &device_type,
const char *port,
float frequency);
37 bool requestForDevice(
const std::string &plugin_name,
const std::string &device_type,
const char *port,
int id,
float frequency);
40 Device* getDevicePtr(
int device_id);
43 Device* getDevicePtrByType(
const std::string &device_type);
61 bool connectDevice(
const std::string &plugin_name,
const std::string &device_type,
const char *port,
Device **device_ptr);
63 static std::map<std::string, osgDB::DynamicLibrary *>
_dl_map;