Abstraction of a timer.
More...
Constructor.
- Parameters
-
- Warning
- Non-Deterministic. Determinism when using ConceptRT library can be ensure by using Context Time Critical mechanisms.
Destructor.
- Warning
- Non-Deterministic. Determinism when using ConceptRT library can be ensure by using Context Time Critical mechanisms.
bool GetEnabled |
( |
| ) |
const |
Query if the timer is enabled.
- Returns
- true if it is enable, false if it isn't.
Gets the remaining interval.
- Returns
- The interval.
void SetEnabled |
( |
bool |
value | ) |
|
Sets the timer as enabled.
- Parameters
-
Sets the interval of the timer.
- Parameters
-
Waits.
- Parameters
-
timeout | (optional) the timeout. |
- Returns
- true if it succeeds, false if timeout occurs.