SPlugin Class Reference

#include <SO3Plugin.h>

List of all members.

Public Member Functions

 SPlugin (const std::string &pluginName)
 ~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 26 of file SO3Plugin.h.


Constructor & Destructor Documentation

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

Constructor.

Actions à éffectuer au démarrage de ce plugin et qui doit être redéfini pour chaque plugin ! extern "C" void SO3Start(void) { }

Actions à éffectuer à l'arrêt de ce plugin et qui doit être redéfini pour chaque plugin ! extern "C" void SO3Stop(void) { }

Definition at line 16 of file SO3Plugin.cpp.

SPlugin::~SPlugin (  ) 

Destructor.

Definition at line 46 of file SO3Plugin.cpp.


Member Function Documentation

SPluginInfos SPlugin::GetInfo (  ) 

Get general informations on that plugin.

Definition at line 117 of file SO3Plugin.cpp.

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

Get a symbol of a loaded plugin.

Definition at line 112 of file SO3Plugin.cpp.

bool SPlugin::IsLoaded (  ) 

Check if the plugin is already loaded.

Definition at line 107 of file SO3Plugin.cpp.

void SPlugin::Load (  )  [virtual]

Load plugin in memory.

Definition at line 52 of file SO3Plugin.cpp.

void SPlugin::Unload (  )  [virtual]

Unload plugin out of memory.

Definition at line 95 of file SO3Plugin.cpp.


Member Data Documentation

SO3_PLUGIN_INSTANCE SPlugin::instanceId [protected]

Definition at line 32 of file SO3Plugin.h.

bool SPlugin::isLoaded [protected]

Definition at line 31 of file SO3Plugin.h.

Definition at line 30 of file SO3Plugin.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Oct 28 14:56:39 2010 for SO3Engine by  doxygen 1.6.3