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


Detailed Description

Definition at line 158 of file Scrubbing.cpp.

Constructor & Destructor Documentation

Scrubber::ScrubPoller::ScrubPoller ( Scrubber scrubber)

Definition at line 161 of file Scrubbing.cpp.

161 : mScrubber( scrubber ) {}

Member Function Documentation

void Scrubber::ScrubPoller::Notify ( )

Definition at line 169 of file Scrubbing.cpp.

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

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

Member Data Documentation

Scrubber& Scrubber::ScrubPoller::mScrubber

Definition at line 166 of file Scrubbing.cpp.

Referenced by Notify().

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