45 #ifndef CHapticDeviceHandlerH 46 #define CHapticDeviceHandlerH 109 unsigned int a_index = 0);
113 unsigned int a_index = 0);
123 unsigned int m_numDevices;
bool getDeviceSpecifications(cHapticDeviceInfo &a_deviceSpecifications, unsigned int a_index=0)
This method returns the specifications of the i-th device.
Definition: CHapticDeviceHandler.cpp:250
void update()
This method updates information about the devices that are currently connected to the computer...
Definition: CHapticDeviceHandler.cpp:128
const unsigned int C_MAX_HAPTIC_DEVICES
Maximum number of devices that can be connected at the same time.
Definition: CHapticDeviceHandler.h:64
virtual ~cHapticDeviceHandler()
Destructor of cHapticDeviceHandler.
Definition: CHapticDeviceHandler.cpp:113
bool getDevice(cGenericHapticDevicePtr &, unsigned int a_index=0)
This method returns a handle to the i-th device, if available.
Definition: CHapticDeviceHandler.cpp:275
This class implements a universal haptic device handler.
Definition: CHapticDeviceHandler.h:80
Implements a base class for haptic devices.
std::shared_ptr< cGenericHapticDevice > cGenericHapticDevicePtr
Definition: CGenericHapticDevice.h:264
This structure stores all technical specifications of a haptic device.
Definition: CGenericHapticDevice.h:194
unsigned int getNumDevices()
This method returns the number of devices currently connected to the computer.
Definition: CHapticDeviceHandler.h:102
cHapticDeviceHandler()
Constructor of cHapticDeviceHandler.
Definition: CHapticDeviceHandler.cpp:85
Definition: CAudioBuffer.cpp:56