#include <RemoteDeviceManager.hpp>
Public Member Functions | |
RemoteDeviceManager (std::string host, std::string port) | |
virtual | ~RemoteDeviceManager () |
Protected Member Functions | |
void | populateDeviceList () |
RemoteDevice * | createDevice (device_info &info) |
Protected Attributes | |
glove::comm::Connection * | connection |
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).
host | The host name of the remote server. | |
port | The port of the remote server. |
virtual glove::devices::remote::RemoteDeviceManager::~RemoteDeviceManager | ( | ) | [virtual] |
The destructor.
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.
info | The device_information the RemoteDevice is going to be base on. |
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.
The underlying connection object for the remote communication.