csTimer Class Reference
[Timer]
Timer is a pseudo-component class which counts time and generates a cscmdTimerPulse command to its parent each time timer crosses bound between two periods.
More...
#include <cstimer.h>
Inheritance diagram for csTimer:

Public Methods | |
csTimer (csComponent *iParent, unsigned iPeriod) | |
Create timer object: the timer is created in running state. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle external events and generate timeouts. | |
void | Stop () |
Stop timer. | |
void | Restart () |
Restart timer from period start point. | |
void | Pause (unsigned iPause) |
Pause for specified time. | |
bool | Running () |
Check if timer is running. |
Detailed Description
Timer is a pseudo-component class which counts time and generates a cscmdTimerPulse command to its parent each time timer crosses bound between two periods.Timer period can be set either at run time or during object creation. This component is always invisible.
Definition at line 60 of file cstimer.h.
Constructor & Destructor Documentation
|
Create timer object: the timer is created in running state.
|
Member Function Documentation
|
Handle external events and generate timeouts.
Reimplemented from csComponent. |
|
Pause for specified time.
|
|
Restart timer from period start point.
|
|
Check if timer is running.
|
|
Stop timer.
|
The documentation for this class was generated from the following file:
- csws/cstimer.h
Generated for Crystal Space by doxygen 1.2.18