Project

General

Profile

SO3Engine

#include <SO3PluginManager.h>

Inheritance diagram for SO3::SPluginManager:

Public Member Functions

 SPluginManager ()
 
virtual ~SPluginManager ()
 
SPluginLoad (const std::string &fileName)
 
void Unload (SPlugin *loadedPlugin)
 
void Unload (const std::string &pluginName)
 
std::vector< std::string > GetPluginList ()
 

Static Public Member Functions

static SPluginManagergetSingleton ()
 
static SPluginManagergetSingletonPtr ()
 

Protected Types

typedef std::map< std::string, SPlugin *, std::less< std::string > > SPluginList
 

Protected Attributes

SPluginList pluginList
 

Detailed Description

Definition at line 17 of file SO3PluginManager.h.

Member Typedef Documentation

◆ SPluginList

typedef std::map<std::string, SPlugin*, std::less<std::string> > SO3::SPluginManager::SPluginList
protected

Definition at line 21 of file SO3PluginManager.h.

Constructor & Destructor Documentation

◆ SPluginManager()

SO3::SPluginManager::SPluginManager ( )

Constructor.

Definition at line 27 of file SO3PluginManager.cpp.

◆ ~SPluginManager()

SO3::SPluginManager::~SPluginManager ( )
virtual

Destructor.

Definition at line 78 of file SO3PluginManager.cpp.

Member Function Documentation

◆ GetPluginList()

std::vector< std::string > SO3::SPluginManager::GetPluginList ( )

Get the name off all loaded plugins.

Definition at line 90 of file SO3PluginManager.cpp.

◆ getSingleton()

SPluginManager & SO3::SPluginManager::getSingleton ( )
static

Definition at line 21 of file SO3PluginManager.cpp.

◆ getSingletonPtr()

SPluginManager * SO3::SPluginManager::getSingletonPtr ( )
static

Definition at line 16 of file SO3PluginManager.cpp.

◆ Load()

SPlugin * SO3::SPluginManager::Load ( const std::string &  fileName)

Open and load a plugin

Definition at line 31 of file SO3PluginManager.cpp.

◆ Unload() [1/2]

void SO3::SPluginManager::Unload ( const std::string &  pluginName)

Unload a plugin from memory.

Definition at line 69 of file SO3PluginManager.cpp.

◆ Unload() [2/2]

void SO3::SPluginManager::Unload ( SPlugin loadedPlugin)

Unload a plugin from memory.

Definition at line 52 of file SO3PluginManager.cpp.

Member Data Documentation

◆ pluginList

SPluginList SO3::SPluginManager::pluginList
protected

Definition at line 22 of file SO3PluginManager.h.


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