Inheritance diagram for csp::common::SleepUntilProcess:
This process is mainly useful to put before another in sequence (delaying the start of the later process).
Public Member Functions | |
SleepUntilProcess (const csp::Time &_until) | |
Constructs the process. | |
Protected Member Functions | |
void | run () |
You must implement this function to provide the code for your process. |
csp::common::SleepUntilProcess::SleepUntilProcess | ( | const csp::Time & | _until | ) | [inline] |
void csp::common::SleepUntilProcess::run | ( | ) | [inline, protected, virtual] |
You must implement this function to provide the code for your process.
When the run method finishes, the process will terminate.
You should not let an uncaught exception cause the end of this function. If it derives from std::exception, it will be caught (although this behaviour should not be relied upon) but otherwise undefined behaviour will result.
Implements csp::ThreadCSProcess.