CAbstractVrpnPeripheral Class Reference
A VRPN peripheral abstraction, client side. More...
Public Member Functions | |
CAbstractVrpnPeripheral (void) | |
Default constructor. | |
CAbstractVrpnPeripheral (const std::string deviceAddress) | |
Constructor. More... | |
virtual | ~CAbstractVrpnPeripheral (void) |
Destructor. | |
virtual void | init (void) |
Initialize the VRPN Remote object and handlers. | |
virtual void | loop (void) |
Main loop. | |
Public Attributes | |
std::list< std::pair< int, int > > | m_vButton |
list (chronological) of pairs (button_id, button_state). | |
std::list< std::list< double > > | m_vAnalog |
list (chronological) of list (channels) of values. | |
double | m_dAnalogScale |
Scalar applied to any value read on the Analog server. | |
double | m_dAnalogOffset |
Offset applied to any value read on the Analog server. | |
std::string | m_sDeviceAddress |
The device address ([peripheral-name]@[hostname]). | |
CDeviceInfo * | m_pDevice |
The VRPN Device. | |
Detailed Description
A VRPN peripheral abstraction, client side.
- Date
- 2010-02-16
The CAbstractVrpnPeripheral handles the connection to at most one Analog Server and one Button Server.
Constructor & Destructor Documentation
CAbstractVrpnPeripheral | ( | const std::string | deviceAddress | ) |
Constructor.
- Parameters
-
deviceAddress The device address.
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4