31 #ifndef OCEANDIRECT_OBP2DEVICE_FACTORY_H
32 #define OCEANDIRECT_OBP2DEVICE_FACTORY_H
36 #include "common/devices/Device.h"
45 static void shutdown();
47 Device* create(
const std::string& name);
48 Device* create(
int index);
49 int getNumberOfDeviceTypes();
52 typedef Device* (*creatorFunction)(void);
54 std::map<std::string, creatorFunction> nameToCreator;
Definition: OBP2DeviceFactory.h:40
This is an interface to OceanDirect that allows the user to connect to devices over USB and other bus...
Definition: DeviceFactory.h:38