#include <VRPNAnalogDevice.H>
Inherits VRG3D::InputDevice.
Public Member Functions | |
VRPNAnalogDevice (const std::string &vrpnAnalogDeviceName, const Array< std::string > &eventsToGenerate) | |
virtual | ~VRPNAnalogDevice () |
void | pollForInput (Array< EventRef > &events) |
void | sendEventIfChanged (int channelNumber, double data) |
std::string | getEventName (int channelNumber) |
int | numChannels () |
VRG3D::VRPNAnalogDevice::VRPNAnalogDevice | ( | const std::string & | vrpnAnalogDeviceName, | |
const Array< std::string > & | eventsToGenerate | |||
) |
virtual VRG3D::VRPNAnalogDevice::~VRPNAnalogDevice | ( | ) | [virtual] |
void VRG3D::VRPNAnalogDevice::pollForInput | ( | Array< EventRef > & | events | ) | [virtual] |
Reimplemented from VRG3D::InputDevice.
void VRG3D::VRPNAnalogDevice::sendEventIfChanged | ( | int | channelNumber, | |
double | data | |||
) |
std::string VRG3D::VRPNAnalogDevice::getEventName | ( | int | channelNumber | ) |
int VRG3D::VRPNAnalogDevice::numChannels | ( | ) | [inline] |