21 #ifndef PLUGINS_GPIO_GPIOPLUGIN_H_
22 #define PLUGINS_GPIO_GPIOPLUGIN_H_
25 #include "olad/Plugin.h"
26 #include "ola/plugin_id.h"
45 std::string
Name()
const {
return PLUGIN_NAME; }
47 ola_plugin_id
Id()
const {
return OLA_PLUGIN_GPIO; }
55 bool SetDefaultPreferences();
57 static const char GPIO_PINS_KEY[];
58 static const char GPIO_SLOT_OFFSET_KEY[];
59 static const char GPIO_TURN_OFF_KEY[];
60 static const char GPIO_TURN_ON_KEY[];
61 static const char PLUGIN_NAME[];
62 static const char PLUGIN_PREFIX[];
69 #endif // PLUGINS_GPIO_GPIOPLUGIN_H_
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: GPIOPlugin.h:47
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
A plugin that drives general purpose digital I/O lines.
Definition: GPIOPlugin.h:35
std::string Name() const
Get the plugin name.
Definition: GPIOPlugin.h:45
Definition: PluginAdaptor.h:41
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: GPIOPlugin.h:48
GPIOPlugin(class ola::PluginAdaptor *plugin_adaptor)
Create a new GPIOPlugin.
Definition: GPIOPlugin.h:41
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string Description() const
Definition: GPIOPlugin.cpp:113
The GPIO Device.
Definition: GPIODevice.h:38