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

Public Member Functions

 DeviceManager (PreferencesFactory *prefs_factory, class PortManager *port_manager)
bool RegisterDevice (AbstractDevice *device)
bool UnregisterDevice (const string &device_id)
bool UnregisterDevice (const AbstractDevice *device)
unsigned int DeviceCount () const
vector< device_alias_pairDevices () const
AbstractDeviceGetDevice (unsigned int alias) const
device_alias_pair GetDevice (const string &unique_id) const
void UnregisterAllDevices ()
void SendTimeCode (const ola::timecode::TimeCode &timecode)

Static Public Attributes

static const unsigned int MISSING_DEVICE_ALIAS = 0
static const char PRIORITY_VALUE_SUFFIX [] = "_priority_value"
static const char PRIORITY_MODE_SUFFIX [] = "_priority_mode"

Member Function Documentation

void ola::DeviceManager::SendTimeCode ( const ola::timecode::TimeCode timecode)

Send timecode to all ports that support it. This is a bit of a hack right now.


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