Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::OlaClient Class Reference
Inheritance diagram for ola::OlaClient:
ola::rdm::RDMAPIImplInterface

Public Member Functions

 OlaClient (ola::io::ConnectedDescriptor *descriptor)
bool Setup ()
bool Stop ()
void SetObserver (OlaClientObserver *observer)
void SetCloseHandler (ola::SingleUseCallback0< void > *callback)
bool FetchPluginList ()
bool FetchPluginDescription (ola_plugin_id plugin_id)
bool FetchDeviceInfo (ola_plugin_id filter=ola::OLA_PLUGIN_ALL)
bool FetchUniverseInfo ()
bool SendDmx (unsigned int universe, const DmxBuffer &data)
bool FetchDmx (unsigned int uni)
bool FetchUIDList (unsigned int universe)
bool RunDiscovery (unsigned int universe, bool full=true)
bool SetSourceUID (const UID &uid)
bool RDMGet (rdm_callback *callback, unsigned int universe, const UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data=NULL, unsigned int data_length=0)
bool RDMGet (rdm_pid_callback *callback, unsigned int universe, const UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data=NULL, unsigned int data_length=0)
bool RDMSet (rdm_callback *callback, unsigned int universe, const UID &uid, uint16_t sub_device, uint16_t pid, const uint8_t *data, unsigned int data_length)
bool SetUniverseName (unsigned int uni, const string &name)
bool SetUniverseMergeMode (unsigned int uni, OlaUniverse::merge_mode mode)
bool RegisterUniverse (unsigned int universe, ola::RegisterAction action)
bool Patch (unsigned int device_alias, unsigned int port, PortDirection port_direction, ola::PatchAction action, unsigned int uni)
bool SetPortPriorityInherit (unsigned int device_alias, unsigned int port, PortDirection port_direction)
bool SetPortPriorityOverride (unsigned int device_alias, unsigned int port, PortDirection port_direction, uint8_t value)
bool ConfigureDevice (unsigned int device_alias, const string &msg)

Additional Inherited Members

- 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

Member Function Documentation

void ola::OlaClient::SetCloseHandler ( ola::SingleUseCallback0< void > *  callback)

Set the close handler.


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