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

Public Member Functions

 ScreenFrameTimer (ScreenshotBigDialog *frame, wxEvent &event)
 
virtual ~ScreenFrameTimer ()
 
void Notify () override
 

Private Attributes

ScreenshotBigDialogscreenFrame
 
std::unique_ptr< wxEvent > evt
 

Detailed Description

Definition at line 151 of file Screenshot.cpp.

Constructor & Destructor Documentation

◆ ScreenFrameTimer()

ScreenFrameTimer::ScreenFrameTimer ( ScreenshotBigDialog frame,
wxEvent &  event 
)
inline

Definition at line 154 of file Screenshot.cpp.

156 {
157 screenFrame = frame;
158 evt.reset(event.Clone());
159 }
ScreenshotBigDialog * screenFrame
Definition: Screenshot.cpp:177
std::unique_ptr< wxEvent > evt
Definition: Screenshot.cpp:178

References evt, and screenFrame.

◆ ~ScreenFrameTimer()

virtual ScreenFrameTimer::~ScreenFrameTimer ( )
inlinevirtual

Definition at line 161 of file Screenshot.cpp.

162 {
163 if (IsRunning())
164 {
165 Stop();
166 }
167 }

Member Function Documentation

◆ Notify()

void ScreenFrameTimer::Notify ( )
inlineoverride

Definition at line 169 of file Screenshot.cpp.

170 {
171 // Process timer notification just once, then destroy self
172 evt->SetEventObject(NULL);
174 }
bool ProcessEvent(wxEvent &event) override
Definition: Screenshot.cpp:498

References evt, ScreenshotBigDialog::ProcessEvent(), and screenFrame.

Here is the call graph for this function:

Member Data Documentation

◆ evt

std::unique_ptr<wxEvent> ScreenFrameTimer::evt
private

Definition at line 178 of file Screenshot.cpp.

Referenced by Notify(), and ScreenFrameTimer().

◆ screenFrame

ScreenshotBigDialog* ScreenFrameTimer::screenFrame
private

Definition at line 177 of file Screenshot.cpp.

Referenced by Notify(), and ScreenFrameTimer().


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