Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/module/ModuleInstance.h>
Public Member Functions | |
ModuleInstance (const std::string &libraryName) | |
~ModuleInstance () | |
void | addStaticallyInitializedInstance (StaticallyInitializedInstance *instance) |
void | deleteAllStaticallyInitializedInstances () |
DynLib * | getDynLib () const |
const std::set< StaticallyInitializedInstance * > & | getInstances (StaticInitialization::Type type) |
const std::string & | getLibraryName () const |
void | loadAllStaticallyInitializedInstances (StaticInitialization::Type type) |
void | removeStaticallyInitializedInstance (StaticallyInitializedInstance *instance) |
void | setDynLib (DynLib *dynLib) |
void | unloadAllStaticallyInitializedInstances (StaticInitialization::Type type) |
Static Public Member Functions | |
static ModuleInstance * | getCurrentModuleInstance () |
static void | setCurrentModuleInstance (ModuleInstance *instance) |
Private Attributes | |
DynLib * | dynLib_ |
std::string | libraryName_ |
std::map< StaticInitialization::Type, std::set< StaticallyInitializedInstance * > > | staticallyInitializedInstancesByType_ |
Static Private Attributes | |
static ModuleInstance * | currentModuleInstance_s = nullptr |
orxonox::ModuleInstance::ModuleInstance | ( | const std::string & | libraryName | ) |
orxonox::ModuleInstance::~ModuleInstance | ( | ) |
void orxonox::ModuleInstance::addStaticallyInitializedInstance | ( | StaticallyInitializedInstance * | instance | ) |
void orxonox::ModuleInstance::deleteAllStaticallyInitializedInstances | ( | ) |
|
static |
|
inline |
|
inline |
|
inline |
void orxonox::ModuleInstance::loadAllStaticallyInitializedInstances | ( | StaticInitialization::Type | type | ) |
void orxonox::ModuleInstance::removeStaticallyInitializedInstance | ( | StaticallyInitializedInstance * | instance | ) |
|
static |
void orxonox::ModuleInstance::unloadAllStaticallyInitializedInstances | ( | StaticInitialization::Type | type | ) |
|
staticprivate |
|
private |
|
private |
|
private |