Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2007, 10:26:31 PM (16 years ago)
Author:
rgrieder
Message:
  • it just didn't feel good at all…
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/DebugLevel.cc

    r688 r689  
    4545        this->softDebugLevel_ = this->softDebugLevelContainer_->getValue(this->softDebugLevel_);
    4646    }
     47
     48    /**
     49        @brief Static function that holds the singleton.
     50    */
     51    int DebugLevel::getSoftDebugLevel()
     52    {
     53        static DebugLevel theOneAndOnlyInstance = DebugLevel();
     54        return theOneAndOnlyInstance.softDebugLevel_;
     55    }
     56
    4757}
    4858
Note: See TracChangeset for help on using the changeset viewer.