|
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 |
Used by the TimeSliceThread class. More...
#include "juce_TimeSliceThread.h"
Public Member Functions | |
| virtual | ~TimeSliceClient ()=default |
| Destructor. | |
| virtual int | useTimeSlice ()=0 |
| Called back by a TimeSliceThread. | |
Friends | |
| class | TimeSliceThread |
Used by the TimeSliceThread class.
To register your class with a TimeSliceThread, derive from this class and use the TimeSliceThread::addTimeSliceClient() method to add it to the list.
Make sure you always call TimeSliceThread::removeTimeSliceClient() before deleting your client!
@tags{Core}
Definition at line 43 of file juce_TimeSliceThread.h.
Called back by a TimeSliceThread.
When you register this class with it, a TimeSliceThread will repeatedly call this method.
The implementation of this method should use its time-slice to do something that's quick - never block for longer than absolutely necessary.
Implemented in juce::AudioFormatWriter::ThreadedWriter::Buffer, juce::AudioThumbnail::LevelDataSource, juce::FileListComponent::ItemComponent, and juce::FileListTreeItem.
|
friend |
Definition at line 68 of file juce_TimeSliceThread.h.