SO3Engine
Public Member Functions | Protected Attributes | List of all members
SO3::SPlugin Class Reference

#include <SO3Plugin.h>

Public Member Functions

 SPlugin (const std::string &pluginName)
 
virtual ~SPlugin ()
 
virtual void Load ()
 
virtual void Unload ()
 
bool IsLoaded ()
 
virtual void * GetSymbol (const char *symbolName) const throw ()
 
SPluginInfos GetInfo ()
 

Protected Attributes

SPluginInfos pluginInfos
 
bool isLoaded
 
SO3_PLUGIN_INSTANCE instanceId
 

Detailed Description

Definition at line 29 of file SO3Plugin.h.

Constructor & Destructor Documentation

◆ SPlugin()

SO3::SPlugin::SPlugin ( const std::string &  pluginName)

Constructor.

Definition at line 19 of file SO3Plugin.cpp.

◆ ~SPlugin()

SO3::SPlugin::~SPlugin ( )
virtual

Destructor.

Definition at line 49 of file SO3Plugin.cpp.

Member Function Documentation

◆ GetInfo()

SPluginInfos SO3::SPlugin::GetInfo ( )

Get general informations on that plugin.

Definition at line 121 of file SO3Plugin.cpp.

◆ GetSymbol()

void * SO3::SPlugin::GetSymbol ( const char *  symbolName) const
throw (
)
virtual

Get a symbol of a loaded plugin.

Definition at line 116 of file SO3Plugin.cpp.

◆ IsLoaded()

bool SO3::SPlugin::IsLoaded ( )

Check if the plugin is already loaded.

Definition at line 111 of file SO3Plugin.cpp.

◆ Load()

void SO3::SPlugin::Load ( )
virtual

Load plugin in memory.

Definition at line 55 of file SO3Plugin.cpp.

◆ Unload()

void SO3::SPlugin::Unload ( )
virtual

Unload plugin out of memory.

Definition at line 99 of file SO3Plugin.cpp.

Member Data Documentation

◆ instanceId

SO3_PLUGIN_INSTANCE SO3::SPlugin::instanceId
protected

Definition at line 35 of file SO3Plugin.h.

◆ isLoaded

bool SO3::SPlugin::isLoaded
protected

Definition at line 34 of file SO3Plugin.h.

◆ pluginInfos

SPluginInfos SO3::SPlugin::pluginInfos
protected

Definition at line 33 of file SO3Plugin.h.


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