Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10342


Ignore:
Timestamp:
Apr 4, 2015, 1:24:49 PM (10 years ago)
Author:
landauf
Message:

added helper class for module initialization

Location:
code/branches/core7/src/libraries/core
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/CMakeLists.txt

    r10268 r10342  
    6666ADD_SUBDIRECTORY(config)
    6767ADD_SUBDIRECTORY(input)
     68ADD_SUBDIRECTORY(module)
    6869ADD_SUBDIRECTORY(object)
    6970
  • code/branches/core7/src/libraries/core/Core.cc

    r9667 r10342  
    7777#include "input/InputManager.h"
    7878#include "object/ObjectList.h"
     79#include "module/ModuleInstance.h"
    7980
    8081namespace orxonox
     
    139140        }
    140141
     142        ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
     143
    141144        // Parse command line arguments AFTER the modules have been loaded (static code!)
    142145        CommandLineParser::parse(cmdLine);
  • code/branches/core7/src/libraries/core/CorePrereqs.h

    r9978 r10342  
    169169    class MemoryArchive;
    170170    class MemoryArchiveFactory;
     171    class ModuleInstance;
    171172    class Namespace;
    172173    class NamespaceNode;
     
    187188    template <class T>
    188189    class SmartPtr;
     190    class StaticallyInitializedInstance;
    189191    template <class T>
    190192    class SubclassIdentifier;
Note: See TracChangeset for help on using the changeset viewer.