Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::DynamicPluginLoader Class Reference

Detailed Description

A PluginLoader which loads from shared (dynamic) libraries.

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

Public Member Functions

std::vector< class AbstractPlugin * > LoadPlugins ()
 Load the plugins. More...
 
void UnloadPlugins ()
 Unload all previously loaded plugins. More...
 
- Public Member Functions inherited from ola::PluginLoader
void SetPluginAdaptor (class PluginAdaptor *adaptor)
 Set the PluginAdaptor to use for the plugins. More...
 

Additional Inherited Members

- Protected Attributes inherited from ola::PluginLoader
class PluginAdaptorm_plugin_adaptor
 

Member Function Documentation

◆ LoadPlugins()

vector< AbstractPlugin * > ola::DynamicPluginLoader::LoadPlugins ( )
virtual

Load the plugins.

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

Implements ola::PluginLoader.

◆ UnloadPlugins()

void ola::DynamicPluginLoader::UnloadPlugins ( )
virtual

Unload all previously loaded plugins.

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

Implements ola::PluginLoader.


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