Orxonox
0.0.5 Codename: Arcturus
|
The Core class is a singleton used to configure the program basics. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/Core.h>
Public Member Functions | |
Core (const std::string &cmdLine) | |
Determines the executable path, checks for build directory runs, creates the output directories and sets up the other core library singletons. More... | |
~Core ()=default | |
Leave empty and use destroy() instead. More... | |
void | destroy () |
Destructor that also executes when the object fails to construct. More... | |
CoreConfig * | getConfig () const |
void | loadGraphics () |
void | loadModule (ModuleInstance *module) |
void | loadModules () |
void | postUpdate (const Clock &time) |
void | preUpdate (const Clock &time) |
void | unloadGraphics (bool loadGraphicsManagerWithoutRenderer=true) |
void | unloadModule (ModuleInstance *module) |
void | unloadModules () |
Private Member Functions | |
Core (const Core &)=delete | |
Core & | operator= (const Core &)=delete |
void | setThreadAffinity (int limitToCPU) |
Private Attributes | |
ApplicationPaths * | applicationPaths_ |
bool | bGraphicsLoaded_ |
CoreConfig * | config_ |
Helper object that stores the config values. More... | |
ConfigFileManager * | configFileManager_ |
ConfigurablePaths * | configurablePaths_ |
DestructionHelper< Core > | destructionHelper_ |
Helper object that executes the surrogate destructor destroy() More... | |
DynLibManager * | dynLibManager_ |
GraphicsManager * | graphicsManager_ |
Interface to OGRE. More... | |
Scope< ScopeID::GRAPHICS > * | graphicsScope_ |
GUIManager * | guiManager_ |
Interface to GUI. More... | |
InputManager * | inputManager_ |
Interface to OIS. More... | |
IOConsole * | ioConsole_ |
Language * | languageInstance_ |
Loader * | loaderInstance_ |
std::list< ModuleInstance * > | modules_ |
PluginManager * | pluginManager_ |
ModuleInstance * | rootModule_ |
Scope< ScopeID::ROOT > * | rootScope_ |
SignalHandler * | signalHandler_ |
CoreStaticInitializationHandler * | staticInitHandler_ |
TclBind * | tclBind_ |
TclThreadManager * | tclThreadManager_ |
Static Private Attributes | |
static Core * | singletonPtr_s = nullptr |
Static pointer to the singleton. More... | |
Friends | |
class | Singleton< Core > |
Additional Inherited Members | |
Static Public Member Functions inherited from orxonox::Singleton< Core > | |
static bool | exists () |
Tells whether the singleton has been created. More... | |
static Core & | getInstance () |
Returns a reference to the singleton instance. More... | |
Protected Member Functions inherited from orxonox::Singleton< Core > | |
Singleton () | |
Constructor sets the singleton instance pointer. More... | |
virtual | ~Singleton () |
Destructor resets the singleton instance pointer. More... | |
The Core class is a singleton used to configure the program basics.
orxonox::Core::Core | ( | const std::string & | cmdLine | ) |
Determines the executable path, checks for build directory runs, creates the output directories and sets up the other core library singletons.
GeneralException |
|
default |
Leave empty and use destroy() instead.
|
privatedelete |
void orxonox::Core::destroy | ( | ) |
Destructor that also executes when the object fails to construct.
|
inline |
void orxonox::Core::loadGraphics | ( | ) |
void orxonox::Core::loadModule | ( | ModuleInstance * | module | ) |
void orxonox::Core::loadModules | ( | ) |
|
private |
Copyright (c) 2000-2008 Torus Knot Software Ltd
OGRE is licensed under the LGPL. For more info, see OGRE license.
void orxonox::Core::unloadGraphics | ( | bool | loadGraphicsManagerWithoutRenderer = true | ) |
void orxonox::Core::unloadModule | ( | ModuleInstance * | module | ) |
void orxonox::Core::unloadModules | ( | ) |
|
private |
|
private |
|
private |
Helper object that stores the config values.
|
private |
|
private |
|
private |
Helper object that executes the surrogate destructor destroy()
|
private |
|
private |
Interface to OGRE.
|
private |
|
private |
Interface to GUI.
|
private |
Interface to OIS.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Static pointer to the singleton.
|
private |
|
private |
|
private |