Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::PluginLoader Class Referenceabstract

Detailed Description

The interface used to load plugins.

Inheritance diagram for ola::PluginLoader:
ola::DynamicPluginLoader

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

◆ LoadPlugins()

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.

◆ SetPluginAdaptor()

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

Set the PluginAdaptor to use for the plugins.

Parameters
adaptorThe PluginAdaptor, ownership is not transferred.

◆ UnloadPlugins()

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: