OMDelay class

OMDelay is used to delay a calling thread. OMDelay is essentially another way of issuing a timeout - OMDelay calls it on its own.

OMDelay is normally used by the application. If a reactive instance creates an OMDelay, it receives a timeout after the specified delay time.

This class is defined in the header file omthread.h.

Flag summary
stopDelay initiates the delay.
Construction summary
OMDelay
Constructs an OMDelay object
~OMDelay
Destroys the OMDelay object
Method summary
wakeup
Resumes processing after the delay time has expired
Flag

stopDelay initiates the delay. The syntax is as follows:

OMOSEventFlag* stopSignal;

The OMOSEventFlag class is defined in os.h.


Feedback