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;
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_ std::string Description() const
Return a description for this plugin.
Definition: FtdiDmxPlugin.cpp:102
Definition: PluginAdaptor.h:41
Definition: FtdiDmxPlugin.h:38
Definition: FtdiDmxDevice.h:40
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: FtdiDmxPlugin.h:46
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string Name() const
Get the plugin name.
Definition: FtdiDmxPlugin.h:45
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: FtdiDmxPlugin.h:44