21 #ifndef PLUGINS_FTDIDMX_FTDIDMXPLUGIN_H_
22 #define PLUGINS_FTDIDMX_FTDIDMXPLUGIN_H_
28 #include "olad/Plugin.h"
29 #include "ola/plugin_id.h"
31 #include "plugins/ftdidmx/FtdiDmxDevice.h"
44 ola_plugin_id
Id()
const {
return OLA_PLUGIN_FTDIDMX; }
45 std::string
Name()
const {
return PLUGIN_NAME; }
48 bool DefaultMode()
const {
return false; }
50 void ConflictsWith(std::set<ola_plugin_id> *conflict_set)
const {
51 conflict_set->insert(ola::OLA_PLUGIN_USBPRO);
52 conflict_set->insert(ola::OLA_PLUGIN_OPENDMX);
58 typedef std::vector<FtdiDmxDevice*> FtdiDeviceVector;
59 FtdiDeviceVector m_devices;
61 void AddDevice(FtdiDmxDevice *device);
64 bool SetDefaultPreferences();
66 static const uint8_t DEFAULT_FREQUENCY = 30;
68 static const char K_FREQUENCY[];
69 static const char PLUGIN_NAME[];
70 static const char PLUGIN_PREFIX[];
75 #endif // PLUGINS_FTDIDMX_FTDIDMXPLUGIN_H_