![]() |
DSPatch v.9.2.0
|
Thread class for auto-ticking a circuit. More...
#include <AutoTickThread.h>
Public Member Functions | |
NONCOPYABLE (AutoTickThread) | |
DSPatch::Component::TickMode | Mode () const |
bool | IsStopped () const |
bool | IsPaused () const |
void | Start (DSPatch::Circuit *circuit, DSPatch::Component::TickMode mode) |
void | Stop () |
void | Pause () |
void | Resume () |
Thread class for auto-ticking a circuit.
An AutoTickThread is responsible for ticking a circuit continuously in a free-running thread. Upon initialisation, a reference to the circuit must be provided for the thread's _Run() method to use. Once Start() has been called, the thread will begin, repeatedly calling the circuit's Tick() method until instructed to Pause() or Stop().
Definition at line 51 of file AutoTickThread.h.