00001 00060 #ifndef _PHIDGETMANAGER_H_ 00061 #define _PHIDGETMANAGER_H_ 00062 00063 #include <vector> 00064 #include <string> 00065 #include <cob_phidgets/phidget.h> 00066 00067 struct AttachedDevice 00068 { 00069 int serial_num; 00070 std::string name; 00071 }; 00072 00073 class PhidgetManager 00074 { 00075 public: 00076 PhidgetManager(); 00077 ~PhidgetManager(); 00078 00079 auto getAttachedDevices()-> std::vector<AttachedDevice>; 00080 private: 00081 CPhidgetManagerHandle _manHandle; 00082 std::vector<AttachedDevice> _attachedDevices; 00083 }; 00084 #endif //_PHIDGETMANAGER_H_