21 #ifndef PLUGINS_OPENPIXELCONTROL_OPCPLUGIN_H_ 22 #define PLUGINS_OPENPIXELCONTROL_OPCPLUGIN_H_ 26 #include "ola/plugin_id.h" 27 #include "olad/Device.h" 28 #include "olad/Plugin.h" 32 namespace openpixelcontrol {
37 :
Plugin(plugin_adaptor) {}
40 std::string
Name()
const {
return PLUGIN_NAME; }
41 ola_plugin_id
Id()
const {
return OLA_PLUGIN_OPENPIXELCONTROL; }
46 typedef std::vector<ola::Device*> OPCDevices;
51 bool SetDefaultPreferences();
53 template <
typename DeviceClass>
54 void AddDevices(
const std::string &key);
56 static const char LISTEN_KEY[];
57 static const char PLUGIN_NAME[];
58 static const char PLUGIN_PREFIX[];
59 static const char TARGET_KEY[];
64 #endif // PLUGINS_OPENPIXELCONTROL_OPCPLUGIN_H_ ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: OPCPlugin.h:41
std::string Name() const
Get the plugin name.
Definition: OPCPlugin.h:40
std::string Description() const
Definition: OPCPlugin.cpp:70
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: OPCPlugin.h:43
Definition: PluginAdaptor.h:41
Definition: OPCPlugin.h:34
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44