Open Lighting Architecture
0.9.3
|
The interface for a plugin
Public Member Functions | |
virtual bool | LoadPreferences ()=0 |
Load the preferences for a plugin. | |
virtual std::string | PreferenceSource () const =0 |
The location for preferences. This can be anything really but should indicate to the user how how the preferences were loaded. | |
virtual bool | IsEnabled () const =0 |
Is the plugin enabled? | |
virtual bool | Start ()=0 |
virtual bool | Stop ()=0 |
virtual ola_plugin_id | Id () const =0 |
Get the plugin ID of this plugin. | |
virtual std::string | Name () const =0 |
Get the plugin name. | |
virtual std::string | Description () const =0 |
virtual void | ConflictsWith (std::set< ola_plugin_id > *conflict_set)=0 |
virtual bool | operator< (const AbstractPlugin &other) const =0 |
|
pure virtual |
Return the description for this plugin.
Implemented in ola::plugin::ftdidmx::FtdiDmxPlugin, ola::plugin::dmx4linux::Dmx4LinuxPlugin, ola::plugin::uartdmx::UartDmxPlugin, ola::plugin::stageprofi::StageProfiPlugin, ola::plugin::milinst::MilInstPlugin, ola::plugin::usbdmx::UsbDmxPlugin, ola::plugin::artnet::ArtNetPlugin, ola::plugin::renard::RenardPlugin, ola::plugin::osc::OSCPlugin, ola::plugin::shownet::ShowNetPlugin, ola::plugin::dummy::DummyPlugin, ola::plugin::espnet::EspNetPlugin, ola::plugin::karate::KaratePlugin, ola::plugin::opendmx::OpenDmxPlugin, ola::plugin::e131::E131Plugin, ola::plugin::usbpro::UsbSerialPlugin, ola::plugin::kinet::KiNetPlugin, ola::plugin::pathport::PathportPlugin, ola::plugin::sandnet::SandNetPlugin, and ola::plugin::spi::SPIPlugin.
|
pure virtual |
Get the plugin ID of this plugin.
Implemented in ola::Plugin, 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.
|
pure virtual |
|
pure virtual |
Get the plugin name.
Implemented in ola::plugin::dmx4linux::Dmx4LinuxPlugin, ola::plugin::ftdidmx::FtdiDmxPlugin, ola::plugin::uartdmx::UartDmxPlugin, ola::plugin::stageprofi::StageProfiPlugin, ola::plugin::usbdmx::UsbDmxPlugin, ola::plugin::milinst::MilInstPlugin, ola::plugin::artnet::ArtNetPlugin, ola::plugin::osc::OSCPlugin, ola::plugin::renard::RenardPlugin, 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.
|
pure virtual |
|
pure virtual |