Open Lighting Architecture  0.9.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::plugin::milinst::MilInstPlugin Class Reference
Inheritance diagram for ola::plugin::milinst::MilInstPlugin:
ola::Plugin ola::AbstractPlugin

Public Member Functions

 MilInstPlugin (PluginAdaptor *plugin_adaptor)
std::string Name () const
 Get the plugin name.
ola_plugin_id Id () const
 Get the plugin ID of this plugin.
std::string Description () const
int SocketClosed (ola::io::ConnectedDescriptor *socket)
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.
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 void ConflictsWith (std::set< ola_plugin_id > *)
bool operator< (const AbstractPlugin &other) const

Additional Inherited Members

- Protected Member Functions inherited from ola::Plugin
virtual bool StartHook ()
virtual bool StopHook ()
virtual bool SetDefaultPreferences ()
- Protected Attributes inherited from ola::Plugin
PluginAdaptorm_plugin_adaptor
class Preferencesm_preferences
- Static Protected Attributes inherited from ola::Plugin
static const char ENABLED_KEY [] = "enabled"

Member Function Documentation

string ola::plugin::milinst::MilInstPlugin::Description ( ) const
virtual

Return the description for this plugin.

Returns
a string description of the plugin

Implements ola::AbstractPlugin.

ola_plugin_id ola::plugin::milinst::MilInstPlugin::Id ( ) const
inlinevirtual

Get the plugin ID of this plugin.

Returns
the ola_plugin_id of this plugin

Implements ola::Plugin.

std::string ola::plugin::milinst::MilInstPlugin::Name ( ) const
inlinevirtual

Get the plugin name.

Returns
the name of this plugin

Implements ola::AbstractPlugin.

std::string ola::plugin::milinst::MilInstPlugin::PluginPrefix ( ) const
inlinevirtual

The prefix to use for storing configuration files.

Returns
A unique prefix used to identify the configuration file for this plugin.

Implements ola::Plugin.


The documentation for this class was generated from the following files: