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 157 of file Scrubbing.cpp.

Constructor & Destructor Documentation

◆ ScrubPoller()

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

Definition at line 160 of file Scrubbing.cpp.

160: mScrubber( scrubber ) {}

Member Function Documentation

◆ Notify()

void Scrubber::ScrubPoller::Notify ( )
overrideprivate

Definition at line 168 of file Scrubbing.cpp.

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

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 165 of file Scrubbing.cpp.

Referenced by Notify().


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