glove::devices::remote::RemoteDeviceManager Class Reference

#include <RemoteDeviceManager.hpp>

List of all members.

Public Member Functions

 RemoteDeviceManager (std::string host, std::string port)
virtual ~RemoteDeviceManager ()

Protected Member Functions

void populateDeviceList ()
RemoteDevicecreateDevice (device_info &info)

Protected Attributes

glove::comm::Connectionconnection


Detailed Description

This class stores and manages generic RemoteDevices.

Author:
Christian Wressnegger
Date:
2009-2010

Constructor & Destructor Documentation

glove::devices::remote::RemoteDeviceManager::RemoteDeviceManager ( std::string  host,
std::string  port 
)

The constructor that already establishes the connection to the remote server (c.f. gloved).

Parameters:
host The host name of the remote server.
port The port of the remote server.

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

The destructor.


Member Function Documentation

RemoteDevice* glove::devices::remote::RemoteDeviceManager::createDevice ( device_info info  )  [protected]

Creates a RemoteDevice according to the provided device_information. This function never throws an exception.

Parameters:
info The device_information the RemoteDevice is going to be base on.
Returns:
The newly created RemoteDevice.

void glove::devices::remote::RemoteDeviceManager::populateDeviceList (  )  [protected]

Populates the internal list of RemoteDevices. This function never throws an exception and is used in the constructor of the class.


Member Data Documentation

The underlying connection object for the remote communication.


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