Open Lighting Architecture
0.9.6
|
The legacy implementation.
This implementation spawns a thread for each dongle, and then uses synchronous calls to libusb.
This does not support hotplug.
Public Member Functions | |
SyncPluginImpl (PluginAdaptor *plugin_adaptor, Plugin *plugin, unsigned int debug_level) | |
Create a new SyncPluginImpl. | |
bool | Start () |
Start the implementation. | |
bool | Stop () |
Stop the implementation. | |
bool | NewWidget (class AnymauDMX *widget) |
Called when a new AnymauDMX is added. | |
bool | NewWidget (class EurolitePro *widget) |
Called when a new EurolitePro is added. | |
bool | NewWidget (class JaRuleWidget *widget) |
Called when a new Ja Rule widget is added. | |
bool | NewWidget (class ScanlimeFadecandy *widget) |
Called when a new ScanlimeFadecandy is added. | |
bool | NewWidget (class Sunlite *widget) |
Called when a new Sunlite is added. | |
bool | NewWidget (class VellemanK8062 *widget) |
Called when a new VellemanK8062 is added. | |
void | WidgetRemoved (class AnymauDMX *widget) |
Called when an AnymauDMX is removed. | |
void | WidgetRemoved (class EurolitePro *widget) |
Called when a EurolitePro is removed. | |
void | WidgetRemoved (class JaRuleWidget *widget) |
Called when a Ja Rule widget is removed. | |
void | WidgetRemoved (class ScanlimeFadecandy *widget) |
Called when a ScanlimeFadecandy is removed. | |
void | WidgetRemoved (class Sunlite *widget) |
Called when a Sunlite is removed. | |
void | WidgetRemoved (class VellemanK8062 *widget) |
Called when a VellemanK8062 is removed. |
ola::plugin::usbdmx::SyncPluginImpl::SyncPluginImpl | ( | PluginAdaptor * | plugin_adaptor, |
Plugin * | plugin, | ||
unsigned int | debug_level | ||
) |
Create a new SyncPluginImpl.
plugin_adaptor | The PluginAdaptor to use, ownership is not transferred. |
plugin | The parent Plugin object which is used when creating devices. |
debug_level | the debug level to use for libusb. |
|
virtual |
Called when a new AnymauDMX is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Called when a new EurolitePro is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Called when a new Ja Rule widget is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Called when a new ScanlimeFadecandy is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Called when a new Sunlite is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Called when a new VellemanK8062 is added.
widget | the new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made. |
Implements ola::plugin::usbdmx::WidgetObserver.
|
virtual |
Start the implementation.
Implements ola::plugin::usbdmx::PluginImplInterface.
|
virtual |
Stop the implementation.
Implements ola::plugin::usbdmx::PluginImplInterface.
|
inlinevirtual |
Called when an AnymauDMX is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.
|
inlinevirtual |
Called when a EurolitePro is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.
|
inlinevirtual |
Called when a Ja Rule widget is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.
|
inlinevirtual |
Called when a ScanlimeFadecandy is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.
|
inlinevirtual |
Called when a Sunlite is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.
|
inlinevirtual |
Called when a VellemanK8062 is removed.
widget | the Widget that has been removed. |
It is an error to use the widget once this call completes.
Implements ola::plugin::usbdmx::WidgetObserver.