Public Member Functions |
| Plugin (PluginAdaptor *plugin_adaptor) |
bool | LoadPreferences () |
| Load the preferences for a plugin.
|
std::string | PreferenceSource () const |
| The location for preferences. This can be anything really but should indicate to the user how how the preferences were loaded.
|
bool | IsEnabled () const |
| Is the plugin enabled?
|
virtual bool | Start () |
virtual bool | Stop () |
virtual bool | DefaultMode () const |
virtual ola_plugin_id | Id () const =0 |
| Get the plugin ID of this plugin.
|
virtual std::string | PluginPrefix () const =0 |
| The prefix to use for storing configuration files.
|
virtual void | ConflictsWith (std::set< ola_plugin_id > *) |
bool | operator< (const AbstractPlugin &other) const |
virtual std::string | Name () const =0 |
| Get the plugin name.
|
virtual std::string | Description () const =0 |
Protected Member Functions |
virtual bool | StartHook () |
virtual bool | StopHook () |
virtual bool | SetDefaultPreferences () |
Static Protected Attributes |
static const char | ENABLED_KEY [] = "enabled" |
Member Function Documentation
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::dmx4linux::Dmx4LinuxPlugin, ola::plugin::usbdmx::UsbDmxPlugin, 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::shownet::ShowNetPlugin, ola::plugin::usbpro::UsbSerialPlugin, ola::plugin::pathport::PathportPlugin, ola::plugin::sandnet::SandNetPlugin, ola::plugin::e131::E131Plugin, 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::dmx4linux::Dmx4LinuxPlugin, ola::plugin::milinst::MilInstPlugin, ola::plugin::stageprofi::StageProfiPlugin, ola::plugin::usbdmx::UsbDmxPlugin, 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::espnet::EspNetPlugin, ola::plugin::karate::KaratePlugin, ola::plugin::opendmx::OpenDmxPlugin, ola::plugin::shownet::ShowNetPlugin, ola::plugin::usbpro::UsbSerialPlugin, ola::plugin::e131::E131Plugin, ola::plugin::pathport::PathportPlugin, ola::plugin::sandnet::SandNetPlugin, ola::plugin::kinet::KiNetPlugin, and ola::plugin::spi::SPIPlugin.
virtual bool ola::Plugin::SetDefaultPreferences |
( |
| ) |
|
|
inlineprotectedvirtual |
bool ola::Plugin::Start |
( |
| ) |
|
|
virtual |
bool ola::Plugin::Stop |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: