DSC Engine
Loading...
Searching...
No Matches
Classes | Typedefs
event.hpp File Reference
#include "DSCEngine/types/vector.hpp"
#include "DSCEngine/debug/assert.hpp"

Go to the source code of this file.

Classes

class  DSC::EventHandlerContainer
 
class  DSC::StaticEventHandlerContainer
 
class  DSC::NonStaticEventHandlerContainer< C >
 
class  DSC::Event
 Class responsible with event registration and execution. More...
 

Typedefs

typedef void(* DSC::StaticEventHandler) (void *sender, void *args)
 Function type to be executed when event fires
More...
 
template<class C >
using DSC::NonStaticEventHandler = void(C::*)(void *sender, void *args)
 Class method type to be executed when event fires. More...
 

Typedef Documentation

◆ NonStaticEventHandler

template<class C >
using DSC::NonStaticEventHandler = typedef void (C::*)(void* sender, void* args)

Class method type to be executed when event fires.

Parameters
senderinstance that triggered the event
argsevent arguments

◆ StaticEventHandler

typedef void(* DSC::StaticEventHandler) (void *sender, void *args)

Function type to be executed when event fires

Parameters
senderinstance that triggered the event
argsevent arguments