#include <llkeythrottle.h>
| Public Types | |
| THROTTLE_OK | |
| THROTTLE_NEWLY_BLOCKED | |
| THROTTLE_BLOCKED | |
| enum | State { THROTTLE_OK, THROTTLE_NEWLY_BLOCKED, THROTTLE_BLOCKED } | 
| Public Member Functions | |
| LLKeyThrottle (U32 limit, F32 interval) | |
| ~LLKeyThrottle () | |
| State | noteAction (const T &id, S32 weight=1) | 
| void | throttleAction (const T &id) | 
| BOOL | isThrottled (const T &id) const | 
| Protected Attributes | |
| LLKeyThrottleImpl< T > & | m | 
Definition at line 73 of file llkeythrottle.h.
| enum LLKeyThrottle::State | 
Definition at line 96 of file llkeythrottle.h.
| LLKeyThrottle< T >::LLKeyThrottle | ( | U32 | limit, | |
| F32 | interval | |||
| ) |  [inline] | 
Definition at line 76 of file llkeythrottle.h.
References LLKeyThrottleImpl< T >::getTime(), LLKeyThrottle< T >::m, and USEC_PER_SEC.
| LLKeyThrottle< T >::~LLKeyThrottle | ( | ) |  [inline] | 
| BOOL LLKeyThrottle< T >::isThrottled | ( | const T & | id | ) | const  [inline] | 
| State LLKeyThrottle< T >::noteAction | ( | const T & | id, | |
| S32 | weight = 1 | |||
| ) |  [inline] | 
Definition at line 103 of file llkeythrottle.h.
References FALSE, LLKeyThrottleImpl< T >::getTime(), LLKeyThrottle< T >::m, LLKeyThrottle< T >::THROTTLE_BLOCKED, LLKeyThrottle< T >::THROTTLE_NEWLY_BLOCKED, and LLKeyThrottle< T >::THROTTLE_OK.
Referenced by LLKeyThrottle< T >::throttleAction().
| void LLKeyThrottle< T >::throttleAction | ( | const T & | id | ) |  [inline] | 
Definition at line 175 of file llkeythrottle.h.
References LLKeyThrottle< T >::m, LLKeyThrottle< T >::noteAction(), and TRUE.
| LLKeyThrottleImpl<T>& LLKeyThrottle< T >::m  [protected] | 
Definition at line 215 of file llkeythrottle.h.
Referenced by LLKeyThrottle< T >::isThrottled(), LLKeyThrottle< T >::LLKeyThrottle(), LLKeyThrottle< T >::noteAction(), LLKeyThrottle< T >::throttleAction(), and LLKeyThrottle< T >::~LLKeyThrottle().
 1.4.7
 1.4.7