Open Lighting Architecture
|
Classes | |
struct | PluginState |
Public Types | |
typedef SingleUseCallback2 < void, const PluginState &, const string & > | PluginStateCallback |
Public Types inherited from ola::rdm::RDMAPIImplInterface | |
typedef ola::SingleUseCallback2< void, const ResponseStatus &, const string & > | rdm_callback |
typedef ola::SingleUseCallback3< void, const ResponseStatus &, uint16_t, const string & > | rdm_pid_callback |
Public Member Functions | |
OlaCallbackClient (ola::io::ConnectedDescriptor *descriptor) | |
bool | Setup () |
bool | Stop () |
void | SetCloseHandler (ola::SingleUseCallback0< void > *callback) |
bool | FetchPluginList (SingleUseCallback2< void, const vector< class OlaPlugin > &, const string & > *callback) |
bool | FetchPluginDescription (ola_plugin_id plugin_id, SingleUseCallback2< void, const string &, const string & > *callback) |
bool | FetchPluginState (ola_plugin_id plugin_id, PluginStateCallback *callback) |
bool | FetchDeviceInfo (ola_plugin_id filter, SingleUseCallback2< void, const vector< class OlaDevice > &, const string & > *callback) |
bool | FetchCandidatePorts (unsigned int universe_id, SingleUseCallback2< void, const vector< class OlaDevice > &, const string & > *callback) |
bool | FetchCandidatePorts (SingleUseCallback2< void, const vector< class OlaDevice > &, const string & > *callback) |
bool | ConfigureDevice (unsigned int device_alias, const string &msg, SingleUseCallback2< void, const string &, const string & > *callback) |
bool | SetPortPriorityInherit (unsigned int device_alias, unsigned int port, PortDirection port_direction, SingleUseCallback1< void, const string & > *callback) |
bool | SetPortPriorityOverride (unsigned int device_alias, unsigned int port, PortDirection port_direction, uint8_t value, SingleUseCallback1< void, const string & > *callback) |
bool | FetchUniverseList (SingleUseCallback2< void, const vector< class OlaUniverse > &, const string & > *callback) |
bool | FetchUniverseInfo (unsigned int universe, SingleUseCallback2< void, class OlaUniverse &, const string & > *callback) |
bool | SetUniverseName (unsigned int uni, const string &name, SingleUseCallback1< void, const string & > *callback) |
bool | SetUniverseMergeMode (unsigned int uni, OlaUniverse::merge_mode mode, SingleUseCallback1< void, const string & > *callback) |
bool | Patch (unsigned int device_alias, unsigned int port, ola::PortDirection port_direction, ola::PatchAction action, unsigned int uni, SingleUseCallback1< void, const string & > *callback) |
void | SetDmxCallback (Callback3< void, unsigned int, const DmxBuffer &, const string & > *callback) |
void | SetDmxCallback (Callback4< void, unsigned int, uint8_t, const DmxBuffer &, const string & > *callback) |
bool | RegisterUniverse (unsigned int universe, ola::RegisterAction register_action, SingleUseCallback1< void, const string & > *callback) |
bool | SendDmx (unsigned int universe, const DmxBuffer &data, SingleUseCallback1< void, const string & > *callback) |
bool | SendDmx (unsigned int universe, const DmxBuffer &data, Callback1< void, const string & > *callback) |
bool | SendDmx (unsigned int universe, const DmxBuffer &data) |
bool | FetchDmx (unsigned int universe, SingleUseCallback2< void, const DmxBuffer &, const string & > *callback) |
bool | FetchUIDList (unsigned int universe, SingleUseCallback2< void, const ola::rdm::UIDSet &, const string & > *callback) |
bool | RunDiscovery (unsigned int universe, bool full, ola::SingleUseCallback2< void, const ola::rdm::UIDSet &, const string & > *callback) |
bool | SetSourceUID (const ola::rdm::UID &uid, ola::SingleUseCallback1< void, const string & > *callback) |
bool | RDMGet (ola::rdm::RDMAPIImplInterface::rdm_callback *callback, unsigned int universe, const ola::rdm::UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data, unsigned int data_length) |
bool | RDMGet (ola::rdm::RDMAPIImplInterface::rdm_pid_callback *callback, unsigned int universe, const ola::rdm::UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data, unsigned int data_length) |
bool | RDMSet (ola::rdm::RDMAPIImplInterface::rdm_callback *callback, unsigned int universe, const ola::rdm::UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data, unsigned int data_length) |
bool | RDMSet (ola::rdm::RDMAPIImplInterface::rdm_pid_callback *callback, unsigned int universe, const ola::rdm::UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data, unsigned int data_length) |
bool | SendTimeCode (ola::SingleUseCallback1< void, const string & > *callback, const ola::timecode::TimeCode &timecode) |
bool ola::OlaCallbackClient::FetchPluginState | ( | ola_plugin_id | plugin_id, |
PluginStateCallback * | callback | ||
) |
Fetch the state of a plugin. This returns the enabled state and the list of plugins this plugin conflicts with.
bool ola::OlaCallbackClient::SendTimeCode | ( | ola::SingleUseCallback1< void, const string & > * | callback, |
const ola::timecode::TimeCode & | timecode | ||
) |
Send TimeCode data.
callback | the Callback to invoke when this completes |
timecode | The timecode data. |
void ola::OlaCallbackClient::SetCloseHandler | ( | ola::SingleUseCallback0< void > * | callback | ) |
Set the close handler.
void ola::OlaCallbackClient::SetDmxCallback | ( | Callback3< void, unsigned int, const DmxBuffer &, const string & > * | callback | ) |
Set the callback to be run whenever new DMX data is received.
void ola::OlaCallbackClient::SetDmxCallback | ( | Callback4< void, unsigned int, uint8_t, const DmxBuffer &, const string & > * | callback | ) |
Set the callback to be run whenever new DMX data is received.