21 #ifndef PLUGINS_SPIDMX_SPIDMXPLUGIN_H_ 22 #define PLUGINS_SPIDMX_SPIDMXPLUGIN_H_ 28 #include "olad/Plugin.h" 29 #include "ola/plugin_id.h" 31 #include "plugins/spidmx/SPIDMXDevice.h" 41 m_plugin_adaptor(plugin_adaptor) {
44 ola_plugin_id
Id()
const {
return OLA_PLUGIN_SPIDMX; }
45 std::string
Name()
const {
return PLUGIN_NAME; }
49 bool DefaultMode()
const {
return false; }
54 typedef std::vector<SPIDMXDevice*> SPIDMXDeviceVector;
55 SPIDMXDeviceVector m_devices;
62 bool SetDefaultPreferences();
64 static const char PLUGIN_NAME[];
65 static const char PLUGIN_PREFIX[];
66 static const char PREF_DEVICE_PREFIX_DEFAULT[];
67 static const char PREF_DEVICE_PREFIX_KEY[];
75 #endif // PLUGINS_SPIDMX_SPIDMXPLUGIN_H_ Definition: SPIDMXPlugin.h:37
std::string Description() const
Definition: SPIDMXPlugin.cpp:101
Definition: PluginAdaptor.h:41
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: SPIDMXPlugin.h:44
std::string Name() const
Get the plugin name.
Definition: SPIDMXPlugin.h:45
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: SPIDMXPlugin.h:46
Definition: SPIDMXDevice.h:37