Changeset 6182 for code/branches/presentation2
- Timestamp:
- Nov 30, 2009, 10:44:06 AM (15 years ago)
- Location:
- code/branches/presentation2/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/ScopedSingletonManager.h
r6035 r6182 39 39 40 40 #define ManageScopedSingleton(className, scope, allowedToFail) \ 41 className* className::singletonPtr_s = NULL; \ 41 42 static ClassScopedSingletonManager<className, scope, allowedToFail> className##ScopedSingletonManager(#className) 42 43 -
code/branches/presentation2/src/libraries/core/input/KeyBinderManager.cc
r5929 r6182 40 40 namespace orxonox 41 41 { 42 KeyBinderManager* KeyBinderManager::singletonPtr_s = 0;43 42 ManageScopedSingleton(KeyBinderManager, ScopeID::Graphics, false); 44 43 -
code/branches/presentation2/src/libraries/core/input/KeyDetector.cc
r5929 r6182 39 39 { 40 40 std::string KeyDetector::callbackCommand_s = "KeyDetectorKeyPressed"; 41 KeyDetector* KeyDetector::singletonPtr_s = 0;42 41 ManageScopedSingleton(KeyDetector, ScopeID::Graphics, false); 43 42 -
code/branches/presentation2/src/modules/questsystem/QuestManager.cc
r5929 r6182 55 55 DeclareToluaInterface(Questsystem); 56 56 57 //! Pointer to the current (and single) instance of this class.58 /*static*/ QuestManager* QuestManager::singletonPtr_s = NULL;59 57 ManageScopedSingleton(QuestManager, ScopeID::Root, false); 60 58 -
code/branches/presentation2/src/modules/questsystem/notifications/NotificationManager.cc
r5929 r6182 47 47 const std::string NotificationManager::NONE = "none"; 48 48 49 NotificationManager* NotificationManager::singletonPtr_s = NULL;50 49 ManageScopedSingleton(NotificationManager, ScopeID::Root, false); 51 50 -
code/branches/presentation2/src/orxonox/CameraManager.cc
r5929 r6182 45 45 namespace orxonox 46 46 { 47 CameraManager* CameraManager::singletonPtr_s = 0;48 47 ManageScopedSingleton(CameraManager, ScopeID::Graphics, false); 49 48 -
code/branches/presentation2/src/orxonox/LevelManager.cc
r6021 r6182 44 44 SetCommandLineArgument(level, "").shortcut("l").information("Default level file (overrides LevelManager::defaultLevelName_ configValue)"); 45 45 46 LevelManager* LevelManager::singletonPtr_s = 0;47 46 ManageScopedSingleton(LevelManager, ScopeID::Root, false); 48 47 -
code/branches/presentation2/src/orxonox/MoodManager.cc
r6119 r6182 36 36 namespace orxonox 37 37 { 38 MoodManager* MoodManager::singletonPtr_s = 0;39 38 ManageScopedSingleton(MoodManager, ScopeID::Root, false); 40 39 -
code/branches/presentation2/src/orxonox/PlayerManager.cc
r5966 r6182 38 38 namespace orxonox 39 39 { 40 PlayerManager* PlayerManager::singletonPtr_s = 0;41 40 ManageScopedSingleton(PlayerManager, ScopeID::Root, false); 42 41 -
code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc
r6180 r6182 61 61 SetConsoleCommand(InGameConsole, closeConsole, true); 62 62 63 InGameConsole* InGameConsole::singletonPtr_s = 0;64 63 ManageScopedSingleton(InGameConsole, ScopeID::Graphics, false); 65 64 -
code/branches/presentation2/src/orxonox/sound/SoundManager.cc
r6138 r6182 46 46 namespace orxonox 47 47 { 48 SoundManager* SoundManager::singletonPtr_s = NULL;49 48 ManageScopedSingleton(SoundManager, ScopeID::Graphics, true); 50 49
Note: See TracChangeset
for help on using the changeset viewer.