![]() |
Public API Reference |
#include <cstimer.h>
Inheritance diagram for csTimer:

Public Methods | |
| csTimer (csComponent *iParent, unsigned iPeriod) | |
| Create timer object: the timer is created in running state. More... | |
| virtual bool | HandleEvent (iEvent &Event) |
| Handle external events and generate timeouts. More... | |
| void | Stop () |
| Stop timer. More... | |
| void | Restart () |
| Restart timer from period start point. More... | |
| void | Pause (unsigned iPause) |
| Pause for specified time. More... | |
| bool | Running () |
| Check if timer is running. More... | |
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.
|
||||||||||||
|
Create timer object: the timer is created in running state.
|
|
|
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.
|