OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::RenderTimerEvent Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GLCanvas3D.hpp>

Inheritance diagram for Slic3r::GUI::RenderTimerEvent:
Collaboration diagram for Slic3r::GUI::RenderTimerEvent:

Public Member Functions

 RenderTimerEvent (wxEventType type, wxTimer &timer)
int GetInterval () const
wxTimer & GetTimer () const
virtual wxEvent * Clone () const
virtual wxEventCategory GetEventCategory () const

Private Attributes

wxTimer * m_timer

Detailed Description

Constructor & Destructor Documentation

◆ RenderTimerEvent()

Slic3r::GUI::RenderTimerEvent::RenderTimerEvent ( wxEventType type,
wxTimer & timer )
inline
133 : wxEvent(timer.GetId(), type),
134 m_timer(&timer)
135 {
136 SetEventObject(timer.GetOwner());
137 }
wxTimer * m_timer
Definition GLCanvas3D.hpp:144

References m_timer.

Referenced by Clone().

Here is the caller graph for this function:

Member Function Documentation

◆ Clone()

virtual wxEvent * Slic3r::GUI::RenderTimerEvent::Clone ( ) const
inlinevirtual
141{ return new RenderTimerEvent(*this); }
RenderTimerEvent(wxEventType type, wxTimer &timer)
Definition GLCanvas3D.hpp:132

References RenderTimerEvent().

Here is the call graph for this function:

◆ GetEventCategory()

virtual wxEventCategory Slic3r::GUI::RenderTimerEvent::GetEventCategory ( ) const
inlinevirtual
142{ return wxEVT_CATEGORY_TIMER; }

◆ GetInterval()

int Slic3r::GUI::RenderTimerEvent::GetInterval ( ) const
inline
138{ return m_timer->GetInterval(); }

References m_timer.

◆ GetTimer()

wxTimer & Slic3r::GUI::RenderTimerEvent::GetTimer ( ) const
inline
139{ return *m_timer; }

References m_timer.

Member Data Documentation

◆ m_timer

wxTimer* Slic3r::GUI::RenderTimerEvent::m_timer
private

The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GLCanvas3D.hpp