OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::Event< T > Struct Template Reference

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

Inheritance diagram for Slic3r::GUI::Event< T >:
Collaboration diagram for Slic3r::GUI::Event< T >:

Public Member Functions

 Event (wxEventType type, const T &data, wxObject *origin=nullptr)
 Event (wxEventType type, T &&data, wxObject *origin=nullptr)
virtual wxEvent * Clone () const

Public Attributes

T data

Detailed Description

template<class T>
struct Slic3r::GUI::Event< T >

Constructor & Destructor Documentation

◆ Event() [1/2]

template<class T>
Slic3r::GUI::Event< T >::Event ( wxEventType type,
const T & data,
wxObject * origin = nullptr )
inline
74 {
77 }
Definition Event.hpp:69
T data
Definition Event.hpp:70

Referenced by Slic3r::GUI::Event< std::pair< Vec2d, bool > >::Clone().

Here is the caller graph for this function:

◆ Event() [2/2]

template<class T>
Slic3r::GUI::Event< T >::Event ( wxEventType type,
T && data,
wxObject * origin = nullptr )
inline

Member Function Documentation

◆ Clone()

template<class T>
virtual wxEvent * Slic3r::GUI::Event< T >::Clone ( ) const
inlinevirtual
87 {
88 return new Event<T>(GetEventType(), data, GetEventObject());
89 }
Event(wxEventType type, const T &data, wxObject *origin=nullptr)
Definition Event.hpp:72

Member Data Documentation

◆ data


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