DSPatch  v.2.42
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
 All Classes Pages
Public Member Functions
DspComponentThread Class Reference

Thread class for ticking and reseting a single component. More...

#include <DspComponentThread.h>

Inheritance diagram for DspComponentThread:
DspThread

List of all members.

Public Member Functions

void Initialise (DspComponent *component)
bool IsStopped () const
void Start (Priority priority=TimeCriticalPriority)
void Stop ()
void Pause ()
void Resume ()

Additional Inherited Members

- Public Types inherited from DspThread
enum  Priority {
  IdlePriority, LowestPriority, LowPriority, NormalPriority,
  HighPriority, HighestPriority, TimeCriticalPriority
}
- Static Public Member Functions inherited from DspThread
static void SetPriority (Priority priority)
static void MsSleep (unsigned short milliseconds)

Detailed Description

Thread class for ticking and reseting a single component.

A DspComponentThread is responsible for ticking and reseting a single component continuously in a separate free-running thread. On construction, a reference to the component must be provided for the DspThread's _Run() method to use. Once Start() has been called, the thread will begin repeatedly executing the _Run() method. On each thread iteration, DspComponentThread simply calls the reference component's Tick() and Reset() methods. The Pause() method causes DspComponentThread to wait until instructed to Resume() again.

Definition at line 46 of file DspComponentThread.h.


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