Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::plugin::usbdmx::SynchronizedWidgetObserver Class Reference

Detailed Description

Transfers widget add/remove events to another thread.

The SynchronizedWidgetObserver ensures that all widget add/removed events are handled in the thread that created the SynchronizedWidgetObserver object.

Inheritance diagram for ola::plugin::usbdmx::SynchronizedWidgetObserver:
Inheritance graph
[legend]
Collaboration diagram for ola::plugin::usbdmx::SynchronizedWidgetObserver:
Collaboration graph
[legend]

Public Member Functions

 SynchronizedWidgetObserver (WidgetObserver *observer, ola::io::SelectServerInterface *ss)
 Create a new SynchronizedWidgetObserver. More...
 
bool NewWidget (class AnymauDMX *widget)
 Called when a new AnymauDMX is added. More...
 
bool NewWidget (class AVLdiyD512 *widget)
 Called when a new AVLdiyD512 is added. More...
 
bool NewWidget (class DMXCProjectsNodleU1 *widget)
 Called when a new DMXCProjects Nodle U1 widget is added. More...
 
bool NewWidget (class DMXCreator512Basic *widget)
 Called when a new DMXCreator512Basic is added. More...
 
bool NewWidget (class EurolitePro *widget)
 Called when a new EurolitePro is added. More...
 
bool NewWidget (ola::usb::JaRuleWidget *widget)
 Called when a new Ja Rule widget is added. More...
 
bool NewWidget (class ScanlimeFadecandy *widget)
 Called when a new ScanlimeFadecandy is added. More...
 
bool NewWidget (class ShowJockeyDMXU1 *widget)
 Called when a new ShowJockeyDMXU1 is added. More...
 
bool NewWidget (class Sunlite *widget)
 Called when a new Sunlite is added. More...
 
bool NewWidget (class VellemanK8062 *widget)
 Called when a new VellemanK8062 is added. More...
 

Constructor & Destructor Documentation

◆ SynchronizedWidgetObserver()

ola::plugin::usbdmx::SynchronizedWidgetObserver::SynchronizedWidgetObserver ( WidgetObserver observer,
ola::io::SelectServerInterface ss 
)

Create a new SynchronizedWidgetObserver.

Parameters
observerthe observer to notify on add/remove events.
ssThe ss to use the schedule events on.

Member Function Documentation

◆ NewWidget() [1/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class AnymauDMX widget)
inlinevirtual

Called when a new AnymauDMX is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [2/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class AVLdiyD512 widget)
inlinevirtual

Called when a new AVLdiyD512 is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [3/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class DMXCProjectsNodleU1 widget)
inlinevirtual

Called when a new DMXCProjects Nodle U1 widget is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [4/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class DMXCreator512Basic widget)
inlinevirtual

Called when a new DMXCreator512Basic is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [5/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class EurolitePro widget)
inlinevirtual

Called when a new EurolitePro is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [6/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( ola::usb::JaRuleWidget widget)
inlinevirtual

Called when a new Ja Rule widget is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [7/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class ScanlimeFadecandy widget)
inlinevirtual

Called when a new ScanlimeFadecandy is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [8/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class ShowJockeyDMXU1 widget)
inlinevirtual

Called when a new ShowJockeyDMXU1 is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [9/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class Sunlite widget)
inlinevirtual

Called when a new Sunlite is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.

◆ NewWidget() [10/10]

bool ola::plugin::usbdmx::SynchronizedWidgetObserver::NewWidget ( class VellemanK8062 widget)
inlinevirtual

Called when a new VellemanK8062 is added.

Parameters
widgetthe new Widget, ownership is not transferred but the object may be used until the corresponding WidgetRemoved() call is made.
Returns
true if the widget has been claimed, false if the widget was ignored.

Implements ola::plugin::usbdmx::WidgetObserver.


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