Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
csEventTimer Class Reference
This class implements a timer. More...
#include <csutil/timer.h>
Inheritance diagram for csEventTimer:

Public Member Functions | |
virtual void | AddTimerEvent (iTimerEvent *ev, csTicks delay) |
Add a timer event to be scheduled later. | |
virtual size_t | GetEventCount () const |
Query the number of events still in the queue. | |
virtual csTicks | GetTimeLeft (size_t idx) const |
Query the number of ticks before the specified event fires. | |
virtual void | RemoveAllTimerEvents () |
Clear all timer events. | |
virtual void | RemoveTimerEvent (iTimerEvent *ev) |
Remove a timer event. | |
Static Public Member Functions | |
static csPtr< iEventTimer > | GetStandardTimer (iObjectRegistry *object_reg) |
This is a static method to easily get the standard global timer (name 'crystalspace.timer.standard' in the object registry). | |
Public Attributes | |
SCF_DECLARE_IBASE |
Detailed Description
This class implements a timer.You can add operations to it and they will be performed at the dedicated time.
Definition at line 38 of file timer.h.
Member Function Documentation
|
Add a timer event to be scheduled later.
Implements iEventTimer. |
|
Query the number of events still in the queue.
Implements iEventTimer. |
|
This is a static method to easily get the standard global timer (name 'crystalspace.timer.standard' in the object registry). If that timer doesn't exist yet it will be created. |
|
Query the number of ticks before the specified event fires.
Implements iEventTimer. |
|
Clear all timer events.
Implements iEventTimer. |
|
Remove a timer event.
Implements iEventTimer. |
The documentation for this class was generated from the following file:
- csutil/timer.h
Generated for Crystal Space by doxygen 1.4.4