Orxonox
0.0.5 Codename: Arcturus
|
Manager for Dynamic-loading Libraries. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/module/DynLibManager.h>
Public Member Functions | |
DynLibManager () | |
Default constructor. More... | |
virtual | ~DynLibManager () |
Default destructor. More... | |
DynLib * | load (const std::string &filename) |
Loads the passed library. More... | |
void | unload (DynLib *lib) |
Unloads the passed library. More... | |
Protected Types | |
typedef std::map< std::string, DynLib * > | DynLibList |
Protected Attributes | |
DynLibList | mLibList |
Static Private Attributes | |
static DynLibManager * | singletonPtr_s = nullptr |
Static pointer to the singleton. More... | |
Friends | |
class | Singleton< DynLibManager > |
Additional Inherited Members | |
Static Public Member Functions inherited from orxonox::Singleton< T > | |
static bool | exists () |
Tells whether the singleton has been created. More... | |
static T & | getInstance () |
Returns a reference to the singleton instance. More... | |
Protected Member Functions inherited from orxonox::Singleton< T > | |
Singleton () | |
Constructor sets the singleton instance pointer. More... | |
virtual | ~Singleton () |
Destructor resets the singleton instance pointer. More... | |
Manager for Dynamic-loading Libraries.
|
protected |
orxonox::DynLibManager::DynLibManager | ( | ) |
Default constructor.
|
virtual |
Default destructor.
DynLib * orxonox::DynLibManager::load | ( | const std::string & | filename | ) |
Loads the passed library.
filename | The name of the library. The extension can be omitted |
Unloads the passed library.
lib | A pointer to the library object |
|
friend |
|
protected |
|
staticprivate |
Static pointer to the singleton.