![]() |
Open Lighting Architecture 0.10.9
|
A plugin that drives general purpose digital I/O lines.
Public Member Functions | |
| GPIOPlugin (class ola::PluginAdaptor *plugin_adaptor) | |
| Create a new GPIOPlugin. | |
| std::string | Name () const |
| Get the plugin name. | |
| std::string | Description () const |
| ola_plugin_id | Id () const |
| Get the plugin ID of this plugin. | |
| std::string | PluginPrefix () const |
| The prefix to use for storing configuration files. | |
Public Member Functions inherited from ola::Plugin | |
| Plugin (PluginAdaptor *plugin_adaptor) | |
| bool | LoadPreferences () |
| Load the preferences for a plugin and set defaults. | |
| std::string | PreferenceConfigLocation () const |
| The location for preferences. | |
| bool | IsEnabled () const |
| Is the plugin enabled? | |
| void | SetEnabledState (bool enable) |
| Set the plugin's enabled state. | |
| virtual bool | Start () |
| Start the plugin. | |
| virtual bool | Stop () |
| Stop the plugin. | |
| virtual bool | DefaultMode () const |
| virtual void | ConflictsWith (std::set< ola_plugin_id > *) const |
| bool | operator< (const AbstractPlugin &other) const |
Additional Inherited Members | |
Protected Attributes inherited from ola::Plugin | |
| PluginAdaptor * | m_plugin_adaptor |
| class Preferences * | m_preferences |
Static Protected Attributes inherited from ola::Plugin | |
| static const char | ENABLED_KEY [] = "enabled" |
|
inlineexplicit |
Create a new GPIOPlugin.
| plugin_adaptor | the PluginAdaptor to use |
|
virtual |
Return the description for this plugin.
Implements ola::AbstractPlugin.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
The prefix to use for storing configuration files.
Implements ola::Plugin.