ROSE
0.11.83.2
|
Do something periodically in another thread.
The pure virtual step
method is called periodically and asynchronously until it's told to stop.
The calling thread invokes start, which creates a new thread that will call the step method. The step method is implemented in the subclasses.
Definition at line 21 of file Periodic.h.
#include <Rose/BinaryAnalysis/ModelChecker/Periodic.h>
Public Types | |
using | Ptr = PeriodicPtr |
Public Member Functions | |
void | start (const EnginePtr &, std::chrono::duration< double > period) |
void | stop () |
virtual void | step (const EnginePtr &)=0 |