Open Lighting Architecture  0.9.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
ola::e133::DeviceManager Class Reference

Detailed Description

This class is responsible for maintaining connections to E1.33 devices. It simply passes calls through to the DeviceManagerImpl so we don't have to pull in all the headers.

Public Types

typedef ola::Callback3< bool,
const IPV4Address &, uint16_t,
const string & > 
RDMMesssageCallback
typedef ola::Callback1< void,
const IPV4Address & > 
AcquireDeviceCallback
typedef ola::Callback1< void,
const IPV4Address & > 
ReleaseDeviceCallback

Public Member Functions

 DeviceManager (ola::io::SelectServerInterface *ss, ola::e133::MessageBuilder *message_builder)
void SetRDMMessageCallback (RDMMesssageCallback *callback)
void SetAcquireDeviceCallback (AcquireDeviceCallback *callback)
void SetReleaseDeviceCallback (ReleaseDeviceCallback *callback)
void AddDevice (const IPV4Address &ip_address)
void RemoveDevice (const IPV4Address &ip_address)
void RemoveDeviceIfNotConnected (const IPV4Address &ip_address)
void ListManagedDevices (vector< IPV4Address > *devices) const

The documentation for this class was generated from the following file: