Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
foray::scene::Component::OnEventCallback Class Referenceabstract

Base class for implementing the onevent callback. More...

#include <foray_component.hpp>

Inheritance diagram for foray::scene::Component::OnEventCallback:
foray::Polymorphic foray::scene::ncomp::FreeCameraController

Public Types

using TArg = const osi::Event *
 

Public Member Functions

virtual void OnEvent (TArg event)=0
 Invoked with every event received by the application.
 
void Invoke (TArg event)
 

Static Public Attributes

static const bool ORDERED_EXECUTION = false
 

Additional Inherited Members

- Protected Member Functions inherited from foray::Polymorphic
virtual void __makeMePolymorphic ()
 

Detailed Description

Base class for implementing the onevent callback.

Member Typedef Documentation

◆ TArg

Member Function Documentation

◆ Invoke()

void foray::scene::Component::OnEventCallback::Invoke ( TArg  event)
inline

◆ OnEvent()

virtual void foray::scene::Component::OnEventCallback::OnEvent ( TArg  event)
inlinepure virtual

Invoked with every event received by the application.

Member Data Documentation

◆ ORDERED_EXECUTION

const bool foray::scene::Component::OnEventCallback::ORDERED_EXECUTION = false
static

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