Castor3D 0.16.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) noexcept
 
C3D_API CpuFrameEventoperator= (CpuFrameEvent const &rhs)
 
C3D_API CpuFrameEventoperator= (CpuFrameEvent &&rhs) noexcept
 
C3D_API CpuFrameEvent (CpuEventType type)
 Constructor.
 
virtual C3D_API ~CpuFrameEvent () noexcept=default
 Destructor.
 
void apply ()
 Applies the event.
 
CpuEventType getType () const
 
void skip ()
 Sets the event to be skipped.
 

Constructor & Destructor Documentation

◆ CpuFrameEvent() [1/3]

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

◆ CpuFrameEvent() [2/3]

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

◆ CpuFrameEvent() [3/3]

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

Constructor.

Parameters
[in]typeThe event type.

◆ ~CpuFrameEvent()

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

Destructor.

Member Function Documentation

◆ apply()

void castor3d::CpuFrameEvent::apply ( )
inline

Applies the event.

Remarks
Must be implemented by children classes.

◆ getType()

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

◆ operator=() [1/2]

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

◆ 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: