Changeset 7375 for code/branches/doc/src/libraries/tools/Timer.cc
- Timestamp:
- Sep 8, 2010, 1:39:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/tools/Timer.cc
r7297 r7375 27 27 */ 28 28 29 /** 30 @file 31 @brief Implementation of the Timer class. 32 */ 33 29 34 #include "Timer.h" 30 35 … … 45 50 46 51 /** 47 @brief C alls a console command after 'delay'seconds.52 @brief Console-command: Calls another console command after @a delay seconds. 48 53 @param delay The delay in seconds 49 54 @param command The console command … … 60 65 61 66 /** 62 @brief Executes the command.63 @param timer The timer to destroy after the command-execution67 @brief Helper function for delay(), executes the command and destroys the timer. 68 @param timer The timer which called this function. 64 69 @param command The command to execute 65 70 */ … … 72 77 73 78 /** 74 @brief Kills all delayed commands.79 @brief Console-command: Kills all scheduled commands that were delayed using delay(). 75 80 */ 76 81 void killdelays() … … 92 97 93 98 /** 94 @brief Constructor: Initializes the Timer with given values.95 @param interval The timer-interval in seconds96 @param bLoop If true, the function gets called every 'interval'seconds97 @param executor A executor of the function to call98 @param bKillAfterCall If true, the timer will be deleted after the function was executed99 @brief Constructor: Initializes and starts the timer, which will call an executor after some time. 100 @param interval The timer-interval in seconds 101 @param bLoop If true, the executor gets called every @a interval seconds 102 @param executor The executor that will be called 103 @param bKillAfterCall If true, the timer will be deleted after the executor was called 99 104 */ 100 105 Timer::Timer(float interval, bool bLoop, const ExecutorPtr& executor, bool bKillAfterCall) … … 121 126 122 127 /** 123 @brief Executes the executor.128 @brief Calls the executor and destroys the timer if requested. 124 129 */ 125 130 void Timer::run()
Note: See TracChangeset
for help on using the changeset viewer.