#include <RemoteDevice.hpp>
Public Member Functions | |
RemoteDevice (glove::comm::Connection &c, const glove::devices::device_info &info) | |
virtual | ~RemoteDevice () |
virtual bool | connect () |
virtual bool | disconnect () |
virtual bool | isConnected () |
virtual std::string | toString () |
Protected Attributes | |
const glove::devices::device_info | deviceInfo |
glove::comm::Connection & | connection |
glove::devices::remote::RemoteDevice::RemoteDevice | ( | glove::comm::Connection & | c, | |
const glove::devices::device_info & | info | |||
) |
The constructor.
c | The glove::comm::Connection object handling the communication for this RemoteDevice. | |
info | The device_info of this Device. |
virtual glove::devices::remote::RemoteDevice::~RemoteDevice | ( | ) | [virtual] |
The destructor.
virtual bool glove::devices::remote::RemoteDevice::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. |
Implements glove::devices::Device.
Reimplemented in glove::devices::remote::RemoteCyberGlove.
virtual bool glove::devices::remote::RemoteDevice::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. |
Implements glove::devices::Device.
Reimplemented in glove::devices::remote::RemoteCyberGlove.
virtual bool glove::devices::remote::RemoteDevice::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. |
Implements glove::devices::Device.
Reimplemented in glove::devices::remote::RemoteCyberGlove.
virtual std::string glove::devices::remote::RemoteDevice::toString | ( | ) | [virtual] |
Implements glove::devices::Device.
Reimplemented in glove::devices::remote::RemoteCyberGlove.
The glove::comm::Connection object handling the communication for this RemoteDevice
const glove::devices::device_info glove::devices::remote::RemoteDevice::deviceInfo [protected] |
The device_info of this Device.