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

Constructor & Destructor Documentation

◆ ScrubPoller()

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

Definition at line 159 of file Scrubbing.cpp.

159: mScrubber( scrubber ) {}

Member Function Documentation

◆ Notify()

void Scrubber::ScrubPoller::Notify ( )
overrideprivate

Definition at line 167 of file Scrubbing.cpp.

168{
169 // Call Continue functions here in a timer handler
170 // rather than in SelectionHandleDrag()
171 // so that even without drag events, we can instruct the play head to
172 // keep approaching the mouse cursor, when its maximum speed is limited.
173
174#ifndef USE_SCRUB_THREAD
175 // If there is no helper thread, this main thread timer is responsible
176 // for playback and for UI
178#endif
180}
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 164 of file Scrubbing.cpp.

Referenced by Notify().


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