Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
orxonox::ModuleInstance Class Reference

#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 ()
 
DynLibgetDynLib () 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 ModuleInstancegetCurrentModuleInstance ()
 
static void setCurrentModuleInstance (ModuleInstance *instance)
 

Private Attributes

DynLibdynLib_
 
std::string libraryName_
 
std::map< StaticInitialization::Type, std::set< StaticallyInitializedInstance * > > staticallyInitializedInstancesByType_
 

Static Private Attributes

static ModuleInstancecurrentModuleInstance_s = nullptr
 

Constructor & Destructor Documentation

orxonox::ModuleInstance::ModuleInstance ( const std::string &  libraryName)
orxonox::ModuleInstance::~ModuleInstance ( )

Member Function Documentation

void orxonox::ModuleInstance::addStaticallyInitializedInstance ( StaticallyInitializedInstance instance)
void orxonox::ModuleInstance::deleteAllStaticallyInitializedInstances ( )
ModuleInstance * orxonox::ModuleInstance::getCurrentModuleInstance ( )
static
DynLib* orxonox::ModuleInstance::getDynLib ( ) const
inline
const std::set<StaticallyInitializedInstance*>& orxonox::ModuleInstance::getInstances ( StaticInitialization::Type  type)
inline
const std::string& orxonox::ModuleInstance::getLibraryName ( ) const
inline
void orxonox::ModuleInstance::loadAllStaticallyInitializedInstances ( StaticInitialization::Type  type)
void orxonox::ModuleInstance::removeStaticallyInitializedInstance ( StaticallyInitializedInstance instance)
void orxonox::ModuleInstance::setCurrentModuleInstance ( ModuleInstance instance)
static
void orxonox::ModuleInstance::setDynLib ( DynLib dynLib)
inline
void orxonox::ModuleInstance::unloadAllStaticallyInitializedInstances ( StaticInitialization::Type  type)

Member Data Documentation

ModuleInstance * orxonox::ModuleInstance::currentModuleInstance_s = nullptr
staticprivate
DynLib* orxonox::ModuleInstance::dynLib_
private
std::string orxonox::ModuleInstance::libraryName_
private
std::map<StaticInitialization::Type, std::set<StaticallyInitializedInstance*> > orxonox::ModuleInstance::staticallyInitializedInstancesByType_
private

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