MinVR  0.9.0
A multi-platform virtual reality library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
MinVR::InputDeviceVRPNAnalog Class Reference
Inheritance diagram for MinVR::InputDeviceVRPNAnalog:
MinVR::AbstractInputDevice

Public Member Functions

 InputDeviceVRPNAnalog (const std::string &vrpnAnalogDeviceName, const std::vector< std::string > &eventsToGenerate)
 
 InputDeviceVRPNAnalog (const std::string name, const ConfigMapRef map)
 
virtual ~InputDeviceVRPNAnalog ()
 
void pollForInput (std::vector< EventRef > &events)
 Adds device events to event queue. More...
 
- Public Member Functions inherited from MinVR::AbstractInputDevice
 AbstractInputDevice ()
 
virtual ~AbstractInputDevice ()
 

Constructor & Destructor Documentation

MinVR::InputDeviceVRPNAnalog::InputDeviceVRPNAnalog ( const std::string &  vrpnAnalogDeviceName,
const std::vector< std::string > &  eventsToGenerate 
)
inline
MinVR::InputDeviceVRPNAnalog::InputDeviceVRPNAnalog ( const std::string  name,
const ConfigMapRef  map 
)
inline
virtual MinVR::InputDeviceVRPNAnalog::~InputDeviceVRPNAnalog ( )
inlinevirtual

Member Function Documentation

void MinVR::InputDeviceVRPNAnalog::pollForInput ( std::vector< EventRef > &  events)
inlinevirtual
 Adds any events generated by the input device to the events array.
Remarks
This should be implemented by any derived classes.

Implements MinVR::AbstractInputDevice.


The documentation for this class was generated from the following file: