21 #ifndef PLUGINS_USBDMX_WIDGETFACTORY_H_ 22 #define PLUGINS_USBDMX_WIDGETFACTORY_H_ 60 virtual bool NewWidget(
class AnymauDMX *widget) = 0;
69 virtual bool NewWidget(
class AVLdiyD512 *widget) = 0;
96 virtual bool NewWidget(
class EurolitePro *widget) = 0;
132 virtual bool NewWidget(
class Sunlite *widget) = 0;
165 virtual bool DeviceAdded(
167 libusb_device *usb_device,
168 const struct libusb_device_descriptor &descriptor) = 0;
174 virtual std::string Name()
const = 0;
183 template <
typename W
idgetType>
188 std::string
Name()
const {
return m_name; }
200 const std::string m_name;
205 template <
typename W
idgetType>
207 WidgetType *widget) {
208 if (!widget->Init()) {
223 #endif // PLUGINS_USBDMX_WIDGETFACTORY_H_ The interface for the Nodle Widgets.
Definition: DMXCProjectsNodleU1.h:43
The EurolitePro Widget.
Definition: EurolitePro.h:42
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
The interface for the Fadecandy Widgets.
Definition: ScanlimeFadecandy.h:49
The interface for the Sunlite Widgets.
Definition: Sunlite.h:40
Helper functions for STL classes.
The base class for AVLdiy Widgets.
Definition: AVLdiyD512.h:41
The interface for the Velleman Widgets.
Definition: VellemanK8062.h:41
The ShowJockey-DMX-U1 Widget.
Definition: ShowJockeyDMXU1.h:54
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
The base class for DMXCreator512Basic Widgets.
Definition: DMXCreator512Basic.h:41
Header file for OLA Logging.
The base class for Anyma Widgets.
Definition: AnymauDMX.h:41