|
static const char | ENABLED_KEY [] = "enabled" |
|
virtual ola_plugin_id ola::Plugin::Id |
( |
| ) |
const |
|
pure virtual |
Get the plugin ID of this plugin.
- Returns
- the ola_plugin_id of this plugin
Implements ola::AbstractPlugin.
Implemented in ola::plugin::usbdmx::UsbDmxPlugin, ola::plugin::dmx4linux::Dmx4LinuxPlugin, ola::plugin::gpio::GPIOPlugin, ola::plugin::stageprofi::StageProfiPlugin, ola::plugin::ftdidmx::FtdiDmxPlugin, ola::plugin::milinst::MilInstPlugin, ola::plugin::osc::OSCPlugin, ola::plugin::uartdmx::UartDmxPlugin, ola::plugin::artnet::ArtNetPlugin, ola::plugin::dummy::DummyPlugin, ola::plugin::espnet::EspNetPlugin, ola::plugin::karate::KaratePlugin, ola::plugin::opendmx::OpenDmxPlugin, ola::plugin::renard::RenardPlugin, ola::plugin::e131::E131Plugin, ola::plugin::shownet::ShowNetPlugin, ola::plugin::usbpro::UsbSerialPlugin, ola::plugin::openpixelcontrol::OPCPlugin, ola::plugin::pathport::PathportPlugin, ola::plugin::sandnet::SandNetPlugin, ola::plugin::spi::SPIPlugin, and ola::plugin::kinet::KiNetPlugin.
bool ola::Plugin::IsEnabled |
( |
| ) |
const |
|
virtual |
virtual std::string ola::Plugin::PluginPrefix |
( |
| ) |
const |
|
pure virtual |
The prefix to use for storing configuration files.
- Returns
- A unique prefix used to identify the configuration file for this plugin.
Implemented in ola::plugin::usbdmx::UsbDmxPlugin, ola::plugin::dmx4linux::Dmx4LinuxPlugin, ola::plugin::gpio::GPIOPlugin, ola::plugin::milinst::MilInstPlugin, ola::plugin::stageprofi::StageProfiPlugin, ola::plugin::ftdidmx::FtdiDmxPlugin, ola::plugin::renard::RenardPlugin, ola::plugin::uartdmx::UartDmxPlugin, ola::plugin::artnet::ArtNetPlugin, ola::plugin::osc::OSCPlugin, ola::plugin::dummy::DummyPlugin, ola::plugin::e131::E131Plugin, ola::plugin::espnet::EspNetPlugin, ola::plugin::karate::KaratePlugin, ola::plugin::opendmx::OpenDmxPlugin, ola::plugin::shownet::ShowNetPlugin, ola::plugin::usbpro::UsbSerialPlugin, ola::plugin::openpixelcontrol::OPCPlugin, ola::plugin::pathport::PathportPlugin, ola::plugin::sandnet::SandNetPlugin, ola::plugin::kinet::KiNetPlugin, and ola::plugin::spi::SPIPlugin.
string ola::Plugin::PreferenceConfigLocation |
( |
| ) |
const |
|
virtual |
The location for preferences.
This can be anything really but should indicate to the user how how the preferences were loaded.
Implements ola::AbstractPlugin.
virtual bool ola::Plugin::SetDefaultPreferences |
( |
| ) |
|
|
inlineprotectedvirtual |
void ola::Plugin::SetEnabledState |
( |
bool |
enable | ) |
|
|
virtual |
Set the plugin's enabled state.
- Parameters
-
enable | The new enabled state |
- Returns
- true if this plugin is enabled
Implements ola::AbstractPlugin.
bool ola::Plugin::Start |
( |
| ) |
|
|
virtual |
Start the plugin.
Calls start_hook() which can be over-ridden by the derrived classes.
- Returns
- true if we started ok, false otherwise
Implements ola::AbstractPlugin.
bool ola::Plugin::Stop |
( |
| ) |
|
|
virtual |
Stop the plugin.
Calls stop_hook() which can be over-ridden by the derrived classes.
- Returns
- true on success, false on failure
Implements ola::AbstractPlugin.
The documentation for this class was generated from the following files:
- include/olad/Plugin.h
- olad/plugin_api/Plugin.cpp