Timeout interface.
More...
#include <Imt.Base.OS.WinEC7/TimeoutIfc.h>
Timeout interface.
Should be implemented with system specific timing possiblitities.
◆ TimeoutIfc()
imt::base::os::winec7::TimeoutIfc::TimeoutIfc |
( |
void |
| ) |
|
|
inlineexplicitprotected |
◆ ~TimeoutIfc()
virtual imt::base::os::winec7::TimeoutIfc::~TimeoutIfc |
( |
void |
| ) |
|
|
inlineprotectedvirtual |
◆ getRemainingTime()
virtual TimePeriod imt::base::os::winec7::TimeoutIfc::getRemainingTime |
( |
void |
| ) |
const |
|
pure virtual |
Returns remaining time until timeout will be reached.
- Returns
- Remaining time until timeout will be reached.
◆ isStarted()
virtual bool imt::base::os::winec7::TimeoutIfc::isStarted |
( |
void |
| ) |
const |
|
pure virtual |
Is timer active (timeout set!).
◆ isTimeout()
virtual bool imt::base::os::winec7::TimeoutIfc::isTimeout |
( |
void |
| ) |
const |
|
pure virtual |
Returns true if specified timeout is reached.
- Returns
- True if timeout reached.
◆ setTimeout()
virtual void imt::base::os::winec7::TimeoutIfc::setTimeout |
( |
const TimePeriod & |
timePeriod | ) |
|
|
pure virtual |
Sets a timeout.
If timeout reached, timeout() returns true.
- Parameters
-
◆ start()
virtual void imt::base::os::winec7::TimeoutIfc::start |
( |
void |
| ) |
|
|
pure virtual |
◆ stopAndReset()
virtual void imt::base::os::winec7::TimeoutIfc::stopAndReset |
( |
void |
| ) |
|
|
pure virtual |
Stops and Resets the timer.
The documentation for this class was generated from the following file: