Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::CpuFrameEvent Class Referenceabstract

#include <CpuFrameEvent.hpp>

Inheritance diagram for castor3d::CpuFrameEvent:
Inheritance graph
[legend]

Public Member Functions

C3D_API CpuFrameEvent (CpuFrameEvent const &rhs)
 
C3D_API CpuFrameEvent (CpuFrameEvent &&rhs)
 
C3D_API CpuFrameEventoperator= (CpuFrameEvent const &rhs)
 
C3D_API CpuFrameEventoperator= (CpuFrameEvent &&rhs)
 
C3D_API CpuFrameEvent (EventType type)
 Constructor. More...
 
virtual C3D_API ~CpuFrameEvent ()=default
 Destructor. More...
 
void apply ()
 Applies the event. More...
 
EventType getType () const
 
void skip ()
 Sets the event to be skipped. More...
 

Constructor & Destructor Documentation

◆ CpuFrameEvent() [1/3]

C3D_API castor3d::CpuFrameEvent::CpuFrameEvent ( CpuFrameEvent const &  rhs)

◆ CpuFrameEvent() [2/3]

C3D_API castor3d::CpuFrameEvent::CpuFrameEvent ( CpuFrameEvent &&  rhs)

◆ CpuFrameEvent() [3/3]

C3D_API castor3d::CpuFrameEvent::CpuFrameEvent ( EventType  type)
explicit

Constructor.

Parameters
[in]typeThe event type.

◆ ~CpuFrameEvent()

virtual C3D_API castor3d::CpuFrameEvent::~CpuFrameEvent ( )
virtualdefault

Destructor.

Member Function Documentation

◆ apply()

void castor3d::CpuFrameEvent::apply ( )
inline

Applies the event.

Remarks
Must be implemented by children classes.

◆ getType()

EventType castor3d::CpuFrameEvent::getType ( ) const
inline
Returns
The event type.

◆ operator=() [1/2]

C3D_API CpuFrameEvent & castor3d::CpuFrameEvent::operator= ( CpuFrameEvent &&  rhs)

◆ operator=() [2/2]

C3D_API CpuFrameEvent & castor3d::CpuFrameEvent::operator= ( CpuFrameEvent const &  rhs)

◆ skip()

void castor3d::CpuFrameEvent::skip ( )
inline

Sets the event to be skipped.


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