21 #ifndef PLUGINS_USBDMX_ASYNCPLUGINIMPL_H_ 22 #define PLUGINS_USBDMX_ASYNCPLUGINIMPL_H_ 28 #endif // HAVE_CONFIG_H 36 #include "libs/usb/Types.h" 37 #include "libs/usb/HotplugAgent.h" 40 #include "olad/Preferences.h" 41 #include "plugins/usbdmx/PluginImplInterface.h" 42 #include "plugins/usbdmx/SynchronizedWidgetObserver.h" 43 #include "plugins/usbdmx/WidgetFactory.h" 48 class AsynchronousLibUsbAdaptor;
72 unsigned int debug_level,
88 bool NewWidget(
class Sunlite *widget);
92 typedef std::vector<class WidgetFactory*> WidgetFactories;
93 typedef std::map<ola::usb::USBDeviceID, class DeviceState*> USBDeviceMap;
97 const unsigned int m_debug_level;
98 std::auto_ptr<ola::usb::HotplugAgent> m_agent;
103 WidgetFactories m_widget_factories;
104 USBDeviceMap m_device_map;
107 struct libusb_device *device);
108 void SetupUSBDevice(libusb_device *device);
110 template <
typename W
idget>
111 bool StartAndRegisterDevice(Widget *widget,
Device *device);
120 #endif // PLUGINS_USBDMX_ASYNCPLUGINIMPL_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 asynchronous libusb implementation.
Definition: AsyncPluginImpl.h:59
The interface for the Fadecandy Widgets.
Definition: ScanlimeFadecandy.h:49
EventType
Definition: HotplugAgent.h:47
Definition: PluginAdaptor.h:41
Definition: AsyncPluginImpl.cpp:71
The interface for the Sunlite Widgets.
Definition: Sunlite.h:40
The interface for an implementation of the USB DMX plugin.
Definition: PluginImplInterface.h:40
The base class for AVLdiy Widgets.
Definition: AVLdiyD512.h:41
The interface for the Velleman Widgets.
Definition: VellemanK8062.h:41
Definition: Preferences.h:147
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
A LibUsbAdaptor for use with Asynchronous widgets.
Definition: LibUsbAdaptor.h:563
The base class for Anyma Widgets.
Definition: AnymauDMX.h:41