Audacity 3.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Scrubber::ScrubPoller Class Reference
Inheritance diagram for Scrubber::ScrubPoller:
[legend]
Collaboration diagram for Scrubber::ScrubPoller:
[legend]

Public Member Functions

 ScrubPoller (Scrubber &scrubber)
 

Private Member Functions

void Notify () override
 

Private Attributes

ScrubbermScrubber
 

Detailed Description

Definition at line 155 of file Scrubbing.cpp.

Constructor & Destructor Documentation

◆ ScrubPoller()

Scrubber::ScrubPoller::ScrubPoller ( Scrubber scrubber)
inline

Definition at line 158 of file Scrubbing.cpp.

158: mScrubber( scrubber ) {}

Member Function Documentation

◆ Notify()

void Scrubber::ScrubPoller::Notify ( )
overrideprivate

Definition at line 166 of file Scrubbing.cpp.

167{
168 // Call Continue functions here in a timer handler
169 // rather than in SelectionHandleDrag()
170 // so that even without drag events, we can instruct the play head to
171 // keep approaching the mouse cursor, when its maximum speed is limited.
172
173#ifndef USE_SCRUB_THREAD
174 // If there is no helper thread, this main thread timer is responsible
175 // for playback and for UI
177#endif
179}
void ContinueScrubbingUI()
Definition: Scrubbing.cpp:672
void ContinueScrubbingPoll()
Definition: Scrubbing.cpp:573

References Scrubber::ContinueScrubbingPoll(), Scrubber::ContinueScrubbingUI(), and mScrubber.

Here is the call graph for this function:

Member Data Documentation

◆ mScrubber

Scrubber& Scrubber::ScrubPoller::mScrubber
private

Definition at line 163 of file Scrubbing.cpp.

Referenced by Notify().


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