Changeset 687
- Timestamp:
- Dec 26, 2007, 8:54:56 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/DebugLevel.cc
r686 r687 42 42 DebugLevel::DebugLevel() 43 43 { 44 this->softDebugLevel_ = 4; // accounts for the recursive call when creating the object 45 RegisterRootObject(DebugLevel); 46 SetConfigValue(softDebugLevel_, 2); 44 this->softDebugLevelContainer_ = new ConfigValueContainer(std::string("DebugLevel"), std::string("softDebugLevel_"), this->softDebugLevel_ = 2); 45 this->softDebugLevel_ = this->softDebugLevelContainer_->getValue(this->softDebugLevel_); 47 46 } 48 47 -
code/branches/FICN/src/orxonox/core/DebugLevel.h
r686 r687 44 44 { 45 45 //! The DebugLevel class is a singleton, only used to configure the amount of debug output. 46 class _CoreExport DebugLevel : public OrxonoxClass46 class _CoreExport DebugLevel 47 47 { 48 48 public: … … 54 54 ~DebugLevel() {} // don't delete 55 55 56 int softDebugLevel_; //!< The output level 56 int softDebugLevel_; //!< The debug level 57 ConfigValueContainer* softDebugLevelContainer_; //!< The config value container for the debug level 57 58 }; 58 59 }
Note: See TracChangeset
for help on using the changeset viewer.