Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor3d::CpuFunctorEvent Class Reference

#include <CpuFunctorEvent.hpp>

Inheritance diagram for castor3d::CpuFunctorEvent:
Inheritance graph
[legend]
Collaboration diagram for castor3d::CpuFunctorEvent:
Collaboration graph
[legend]

Public Types

using Functor = castor::Function< void() >
 

Public Member Functions

 CpuFunctorEvent (CpuEventType type, Functor functor)
 Constructor.
 
- Public Member Functions inherited from castor3d::CpuFrameEvent
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.
 

Member Typedef Documentation

◆ Functor

Constructor & Destructor Documentation

◆ CpuFunctorEvent()

castor3d::CpuFunctorEvent::CpuFunctorEvent ( CpuEventType type,
Functor functor )
inline

Constructor.

Parameters
[in]typeThe event type
[in]functorThe functor to execute

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