Castor3D
..
|
The interface which represents a frame event. More...
Public Member Functions | |
C3D_API | FrameEvent (eEVENT_TYPE p_type) |
Constructor. More... | |
C3D_API | FrameEvent (FrameEvent const &p_object) |
Copy constructor. More... | |
C3D_API | FrameEvent (FrameEvent &&p_object) |
Move constructor. More... | |
C3D_API FrameEvent & | operator= (FrameEvent const &p_object) |
Copy assignment operator. More... | |
C3D_API FrameEvent & | operator= (FrameEvent &&p_object) |
Move assignment operator. More... | |
virtual C3D_API | ~FrameEvent () |
Destructor. More... | |
virtual C3D_API bool | Apply ()=0 |
Applies the event. More... | |
eEVENT_TYPE | GetType () |
Retrieves the event type. More... | |
Protected Attributes | |
eEVENT_TYPE | m_type |
The event type. More... | |
The interface which represents a frame event.
C3D_API Castor3D::FrameEvent::FrameEvent | ( | eEVENT_TYPE | p_type | ) |
Constructor.
[in] | p_type | The event type |
C3D_API Castor3D::FrameEvent::FrameEvent | ( | FrameEvent const & | p_object | ) |
Copy constructor.
[in] | p_object | The object to copy |
C3D_API Castor3D::FrameEvent::FrameEvent | ( | FrameEvent && | p_object | ) |
Move constructor.
[in] | p_object | The object to move |
|
virtual |
Destructor.
|
pure virtual |
Applies the event.
true
if the event was applied successfully Implemented in Castor3D::InitialiseEvent< T >, Castor3D::CleanupEvent< T >, Castor3D::FunctorEvent< Functor >, Castor3D::ResizeWindowEvent, and Castor3D::SubdivisionFrameEvent.
|
inline |
C3D_API FrameEvent& Castor3D::FrameEvent::operator= | ( | FrameEvent const & | p_object | ) |
Copy assignment operator.
[in] | p_object | The object to copy |
C3D_API FrameEvent& Castor3D::FrameEvent::operator= | ( | FrameEvent && | p_object | ) |
Move assignment operator.
[in] | p_object | The object to move |
|
protected |
The event type.
Referenced by GetType().