DSPatch v.9.7.5
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)
bool IsStopped () const
bool IsPaused () const
void Start (DSPatch::Circuit *circuit)
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 50 of file AutoTickThread.h.

Constructor & Destructor Documentation

◆ ~AutoTickThread()

DSPatch::internal::AutoTickThread::~AutoTickThread ( )

Definition at line 57 of file AutoTickThread.h.

Member Function Documentation

◆ IsPaused()

bool DSPatch::internal::AutoTickThread::IsPaused ( ) const

Definition at line 67 of file AutoTickThread.h.

◆ IsStopped()

bool DSPatch::internal::AutoTickThread::IsStopped ( ) const

Definition at line 62 of file AutoTickThread.h.

◆ Pause()

void DSPatch::internal::AutoTickThread::Pause ( )

Definition at line 107 of file AutoTickThread.h.

◆ Resume()

void DSPatch::internal::AutoTickThread::Resume ( )

Definition at line 124 of file AutoTickThread.h.

◆ Start()

void DSPatch::internal::AutoTickThread::Start ( DSPatch::Circuit circuit)

Definition at line 72 of file AutoTickThread.h.

◆ Stop()

void DSPatch::internal::AutoTickThread::Stop ( )

Definition at line 88 of file AutoTickThread.h.

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