Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2008, 7:36:33 PM (16 years ago)
Author:
nicolasc
Message:

just a test - don't morge this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gcc43/src/orxonox/tools/Timer.h

    r1552 r1634  
    8181
    8282            /** @brief Starts the Timer: Function-call after 'interval' seconds. */
    83             inline void startTimer()
     83            void startTimer()
    8484                { this->bActive_ = true; this->time_ = this->interval_; }
    8585            /** @brief Stops the Timer. */
    86             inline void stopTimer()
     86            void stopTimer()
    8787                { this->bActive_ = false; this->time_ = this->interval_; }
    8888            /** @brief Pauses the Timer - it will continue with the actual state if you unpause it. */
    89             inline void pauseTimer()
     89            void pauseTimer()
    9090                { this->bActive_ = false; }
    9191            /** @brief Unpauses the Timer - continues with the given state. */
    92             inline void unpauseTimer()
     92            void unpauseTimer()
    9393                { this->bActive_ = true; }
    9494            /** @brief Returns true if the Timer is active (= not stoped, not paused). @return True = Time is active */
    95             inline bool isActive() const
     95            bool isActive() const
    9696                { return this->bActive_; }
    9797            /** @brief Gives the Timer some extra time. @param time The amount of extra time in seconds */
    98             inline void addTime(float time)
     98            void addTime(float time)
    9999                { this->time_ += time; }
    100100            /** @brief Decreases the remaining time of the Timer. @param time The amount of time to remove */
    101             inline void removeTime(float time)
     101            void removeTime(float time)
    102102                { this->time_ -= time; }
    103103            /** @brief Sets the interval of the Timer. @param interval The interval */
    104             inline void setInterval(float interval)
     104            void setInterval(float interval)
    105105                { this->interval_ = interval; }
    106106            /** @brief Sets bLoop to a given value. @param bLoop True = loop */
    107             inline void setLoop(bool bLoop)
     107            void setLoop(bool bLoop)
    108108                { this->bLoop_ = bLoop; }
    109109
Note: See TracChangeset for help on using the changeset viewer.