Open Lighting Architecture
0.9.6
|
Receives notifications when Widgets are added or removed.
Classes implementing the WidgetObserver can be used with WidgetFactories to receive notifcations when widgets are added or removed.
On adding a new Widget, the appropriate NewWidget() method is called. The observer can mark a widget as in-use by returning true.
When widgets are removed, the appropriate WidgetRemoved() method is called. The observer must not access the removed widget object once the call to WidgetRemoved() completes.
Public Member Functions | |
virtual bool | NewWidget (class AnymauDMX *widget)=0 |
Called when a new AnymauDMX is added. | |
virtual bool | NewWidget (class EurolitePro *widget)=0 |
Called when a new EurolitePro is added. | |
virtual bool | NewWidget (class JaRuleWidget *widget)=0 |
Called when a new Ja Rule widget is added. | |
virtual bool | NewWidget (class ScanlimeFadecandy *widget)=0 |
Called when a new ScanlimeFadecandy is added. | |
virtual bool | NewWidget (class Sunlite *widget)=0 |
Called when a new Sunlite is added. | |
virtual bool | NewWidget (class VellemanK8062 *widget)=0 |
Called when a new VellemanK8062 is added. | |
virtual void | WidgetRemoved (class AnymauDMX *widget)=0 |
Called when an AnymauDMX is removed. | |
virtual void | WidgetRemoved (class EurolitePro *widget)=0 |
Called when a EurolitePro is removed. | |
virtual void | WidgetRemoved (class JaRuleWidget *widget)=0 |
Called when a Ja Rule widget is removed. | |
virtual void | WidgetRemoved (class ScanlimeFadecandy *widget)=0 |
Called when a ScanlimeFadecandy is removed. | |
virtual void | WidgetRemoved (class Sunlite *widget)=0 |
Called when a Sunlite is removed. | |
virtual void | WidgetRemoved (class VellemanK8062 *widget)=0 |
Called when a VellemanK8062 is removed. |
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure 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. |
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncPluginImpl, and ola::plugin::usbdmx::SyncronizedWidgetObserver.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncronizedWidgetObserver, and ola::plugin::usbdmx::SyncPluginImpl.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncronizedWidgetObserver, and ola::plugin::usbdmx::SyncPluginImpl.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncronizedWidgetObserver, and ola::plugin::usbdmx::SyncPluginImpl.
|
pure virtual |
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.
Implemented in ola::plugin::usbdmx::AsyncPluginImpl, ola::plugin::usbdmx::SyncronizedWidgetObserver, and ola::plugin::usbdmx::SyncPluginImpl.