Open Lighting Architecture  0.9.1
 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 std::string &device_id)
bool UnregisterDevice (const AbstractDevice *device)
unsigned int DeviceCount () const
std::vector< device_alias_pairDevices () const
AbstractDeviceGetDevice (unsigned int alias) const
device_alias_pair GetDevice (const std::string &unique_id) const
void UnregisterAllDevices ()
void SendTimeCode (const ola::timecode::TimeCode &timecode)
template<class PortClass >
void SavePortPatchings (const vector< PortClass * > &ports) const
template<class PortClass >
void RestorePortSettings (const vector< PortClass * > &ports) const

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: