#include <RemoteCyberGlove.hpp>
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 |
virtual glove::devices::remote::RemoteCyberGlove::~RemoteCyberGlove | ( | ) | [virtual] |
The destructor.
virtual bool glove::devices::remote::RemoteCyberGlove::connect | ( | ) | [virtual] |
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] |
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] |
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] |
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] |
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] |
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] |
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] |
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] |
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] |
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.
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. |
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] |
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.