DSPatch v.9.2.0
No Matches
Public Member Functions | List of all members
DSPatch::internal::AutoTickThread Class Referencefinal

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 ()

Detailed Description

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.

The documentation for this class was generated from the following file: