diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/llcommon/lltimer.h | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/llcommon/lltimer.h')
-rw-r--r-- | linden/indra/llcommon/lltimer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llcommon/lltimer.h b/linden/indra/llcommon/lltimer.h index 37917d0..35f0a7b 100644 --- a/linden/indra/llcommon/lltimer.h +++ b/linden/indra/llcommon/lltimer.h | |||
@@ -142,11 +142,12 @@ void secondsToTimecodeString(F32 current_time, char *tcstring); | |||
142 | class LLEventTimer | 142 | class LLEventTimer |
143 | { | 143 | { |
144 | public: | 144 | public: |
145 | LLEventTimer(F32 period); // period is the amount of time between each call to tick() | 145 | LLEventTimer(F32 period); // period is the amount of time between each call to tick() in seconds |
146 | virtual ~LLEventTimer(); | 146 | virtual ~LLEventTimer(); |
147 | 147 | ||
148 | //function to be called at the supplied frequency | 148 | //function to be called at the supplied frequency |
149 | virtual void tick() = 0; | 149 | // Normally return FALSE; TRUE will delete the timer after the function returns. |
150 | virtual BOOL tick() = 0; | ||
150 | 151 | ||
151 | static void updateClass(); | 152 | static void updateClass(); |
152 | 153 | ||