Audacity  2.2.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Scrubber::ScrubPoller Class Reference
Inheritance diagram for Scrubber::ScrubPoller:

Public Member Functions

 ScrubPoller (Scrubber &scrubber)
 

Private Member Functions

void Notify () override
 

Private Attributes

ScrubbermScrubber
 

Detailed Description

Definition at line 159 of file Scrubbing.cpp.

Constructor & Destructor Documentation

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

Definition at line 162 of file Scrubbing.cpp.

162 : mScrubber( scrubber ) {}

Member Function Documentation

void Scrubber::ScrubPoller::Notify ( )
overrideprivate

Definition at line 170 of file Scrubbing.cpp.

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

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

Member Data Documentation

Scrubber& Scrubber::ScrubPoller::mScrubber
private

Definition at line 167 of file Scrubbing.cpp.

Referenced by Notify().


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