Open Lighting Architecture
0.9.5
|
Transfers widget add/remove events to another thread.
The SyncronizedWidgetObserver ensures that all widget add/removed events are handled in the thread that created the SyncronizedWidgetObserver object.
Public Member Functions | |
SyncronizedWidgetObserver (WidgetObserver *observer, ola::io::SelectServerInterface *ss) | |
Create a new SyncronizedWidgetObserver. | |
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 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 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::SyncronizedWidgetObserver::SyncronizedWidgetObserver | ( | WidgetObserver * | observer, |
ola::io::SelectServerInterface * | ss | ||
) |
Create a new SyncronizedWidgetObserver.
observer | the observer to notify on add/remove events. |
ss | The ss to use the schedule events on. |
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
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 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.