JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
juce::Timer::TimerThread Class Referencefinal
Inheritance diagram for juce::Timer::TimerThread:
juce::Thread

Public Types

using LockType = CriticalSection
 

Public Member Functions

void run () override
 Must be implemented to perform the thread's actual code.
 
void callTimers ()
 
void callTimersSynchronously ()
 
void addTimer (Timer *t)
 
void removeTimer (Timer *t)
 
void resetTimerCounter (Timer *t) noexcept
 

Detailed Description

Definition at line 26 of file juce_Timer.cpp.

Member Typedef Documentation

◆ LockType

Definition at line 29 of file juce_Timer.cpp.

Constructor & Destructor Documentation

◆ TimerThread()

juce::Timer::TimerThread::TimerThread ( )

Definition at line 31 of file juce_Timer.cpp.

◆ ~TimerThread()

juce::Timer::TimerThread::~TimerThread ( )
override

Definition at line 36 of file juce_Timer.cpp.

Member Function Documentation

◆ addTimer()

void juce::Timer::TimerThread::addTimer ( Timer t)

Definition at line 124 of file juce_Timer.cpp.

◆ callTimers()

void juce::Timer::TimerThread::callTimers ( )

Definition at line 85 of file juce_Timer.cpp.

◆ callTimersSynchronously()

void juce::Timer::TimerThread::callTimersSynchronously ( )

Definition at line 119 of file juce_Timer.cpp.

◆ removeTimer()

void juce::Timer::TimerThread::removeTimer ( Timer t)

Definition at line 144 of file juce_Timer.cpp.

◆ resetTimerCounter()

void juce::Timer::TimerThread::resetTimerCounter ( Timer t)
noexcept

Definition at line 163 of file juce_Timer.cpp.

◆ run()

void juce::Timer::TimerThread::run ( )
overridevirtual

Must be implemented to perform the thread's actual code.

Remember that the thread must regularly check the threadShouldExit() method whilst running, and if this returns true it should return from the run() method as soon as possible to avoid being forcibly killed.

See also
threadShouldExit, startThread

Implements juce::Thread.

Definition at line 43 of file juce_Timer.cpp.


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