glove::devices::remote::RemoteDevice Class Reference

#include <RemoteDevice.hpp>

Inheritance diagram for glove::devices::remote::RemoteDevice:

glove::devices::Device glove::devices::remote::RemoteCyberGlove

List of all members.

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::Connectionconnection


Detailed Description

Implements a generic Device that can be operated remotely.

Author:
Christian Wressnegger
Date:
2009-2010

Constructor & Destructor Documentation

glove::devices::remote::RemoteDevice::RemoteDevice ( glove::comm::Connection c,
const glove::devices::device_info info 
)

The constructor.

Parameters:
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.


Member Function Documentation

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

See also:
Device::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.

Implements glove::devices::Device.

Reimplemented in glove::devices::remote::RemoteCyberGlove.

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

See also:
Device::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.

Implements glove::devices::Device.

Reimplemented in glove::devices::remote::RemoteCyberGlove.

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

See also:
Device::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.

Implements glove::devices::Device.

Reimplemented in glove::devices::remote::RemoteCyberGlove.

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


Member Data Documentation

The glove::comm::Connection object handling the communication for this RemoteDevice

The device_info of this Device.


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