Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
ola::PluginLoader Class Reference

Detailed Description

The interface used to load plugins.

Inheritance diagram for ola::PluginLoader:
Inheritance graph
[legend]
Collaboration diagram for ola::PluginLoader:
Collaboration graph
[legend]

Public Member Functions

void SetPluginAdaptor (class PluginAdaptor *adaptor)
 Set the PluginAdaptor to use for the plugins.
virtual std::vector< class
AbstractPlugin * > 
LoadPlugins ()=0
 Load the plugins.
virtual void UnloadPlugins ()=0
 Unload all previously loaded plugins.

Protected Attributes

class PluginAdaptorm_plugin_adaptor

Member Function Documentation

virtual std::vector<class AbstractPlugin*> ola::PluginLoader::LoadPlugins ( )
pure virtual

Load the plugins.

Returns
A vector with a list of the plugins which were loaded. The PluginLoader maintains ownership of each plugin.

Implemented in ola::DynamicPluginLoader.

void ola::PluginLoader::SetPluginAdaptor ( class PluginAdaptor adaptor)
inline

Set the PluginAdaptor to use for the plugins.

Parameters
adaptorThe PluginAdaptor, ownership is not transferred.
virtual void ola::PluginLoader::UnloadPlugins ( )
pure virtual

Unload all previously loaded plugins.

After this call completes, any plugins returned by LoadPlugins() must not be used.

Implemented in ola::DynamicPluginLoader.


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