glove::devices::remote::RemoteCyberGlove Class Reference

#include <RemoteCyberGlove.hpp>

Inheritance diagram for glove::devices::remote::RemoteCyberGlove:

glove::devices::CyberGlove glove::devices::remote::RemoteDevice glove::devices::Device glove::devices::Device

List of all members.

Public Member Functions

virtual ~RemoteCyberGlove ()
virtual bool connect ()
virtual bool disconnect ()
virtual bool isConnected ()
unsigned int numSensors ()
const std::bitset< 24 > getEnabledSensors ()
bool isRightHanded ()
bool isLeftHanded ()
virtual void streamSensorValues (bool b)
virtual bool isStreaming ()
virtual double getValue (const Sensor s)
virtual const std::vector< double > getValues ()
virtual std::string info ()
virtual std::pair< int, int > version ()
virtual const std::string & getTypeIdentifier () const
virtual std::string toString ()

Friends

class RemoteDeviceManager


Detailed Description

Implements a CyberGlove abstraction that can be operated remotely.

Author:
Christian Wressnegger
Date:
2009-2010

Constructor & Destructor Documentation

virtual glove::devices::remote::RemoteCyberGlove::~RemoteCyberGlove (  )  [virtual]

The destructor.


Member Function Documentation

virtual bool glove::devices::remote::RemoteCyberGlove::connect (  )  [virtual]

See also:
RemoteDevice::connect()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Reimplemented from glove::devices::remote::RemoteDevice.

virtual bool glove::devices::remote::RemoteCyberGlove::disconnect (  )  [virtual]

See also:
RemoteDevice::disconnect()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Reimplemented from glove::devices::remote::RemoteDevice.

const std::bitset<24> glove::devices::remote::RemoteCyberGlove::getEnabledSensors (  )  [virtual]

virtual const std::string& glove::devices::remote::RemoteCyberGlove::getTypeIdentifier (  )  const [virtual]

virtual double glove::devices::remote::RemoteCyberGlove::getValue ( const Sensor  s  )  [virtual]

See also:
CyberGlove::getValue(const Sensor)
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

virtual const std::vector<double> glove::devices::remote::RemoteCyberGlove::getValues (  )  [virtual]

See also:
CyberGlove::getValues()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

virtual std::string glove::devices::remote::RemoteCyberGlove::info (  )  [virtual]

See also:
CyberGlove::info()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

virtual bool glove::devices::remote::RemoteCyberGlove::isConnected (  )  [virtual]

See also:
RemoteDevice::isConnected()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Reimplemented from glove::devices::remote::RemoteDevice.

bool glove::devices::remote::RemoteCyberGlove::isLeftHanded (  )  [virtual]

See also:
CyberGlove::isLeftHanded()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

bool glove::devices::remote::RemoteCyberGlove::isRightHanded (  )  [virtual]

See also:
CyberGlove::isRightHanded()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

virtual bool glove::devices::remote::RemoteCyberGlove::isStreaming (  )  [virtual]

See also:
CyberGlove::isStreaming()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

unsigned int glove::devices::remote::RemoteCyberGlove::numSensors (  )  [virtual]

See also:
CyberGlove::numSensors()
Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.

virtual void glove::devices::remote::RemoteCyberGlove::streamSensorValues ( bool  b  )  [virtual]

Start streaming sensor values.

Exceptions:
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.
Parameters:
b A boolean value that specifies if the streaming should be started or stopped.

virtual std::string glove::devices::remote::RemoteCyberGlove::toString (  )  [virtual]

virtual std::pair<int, int> glove::devices::remote::RemoteCyberGlove::version (  )  [virtual]

See also:
CyberGlove::version()
Exceptions:
std::runtime_error If the an illegal version format was received.
glove::comm::illegal_response If the underlying communication protocol was violated.
boost::system::system_error If the low-level communication to the remote server failed.

Implements glove::devices::CyberGlove.


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

Generated on Thu Feb 4 12:36:54 2010 for libglove by  doxygen 1.5.8