Crazy Eddie's GUI System 0.8.7
CEGUI::FreeFunctionSlotVoidNoArgs Class Reference

Slot functor class that calls back via a free function pointer. This variant ignores passed EventArgs and the handler doesn't have to return a bool. More...

#include <FreeFunctionSlot.h>

+ Inheritance diagram for CEGUI::FreeFunctionSlotVoidNoArgs:
+ Collaboration diagram for CEGUI::FreeFunctionSlotVoidNoArgs:

Public Types

typedef void() SlotFunction()
 Slot function type.
 

Public Member Functions

 FreeFunctionSlotVoidNoArgs (SlotFunction *func)
 
virtual bool operator() (const EventArgs &)
 
virtual bool operator() (const EventArgs &args)=0
 

Detailed Description

Slot functor class that calls back via a free function pointer. This variant ignores passed EventArgs and the handler doesn't have to return a bool.

Note
This functor always returns true to CEGUI, which means the event was handled.

Member Function Documentation

◆ operator()()

virtual bool CEGUI::FreeFunctionSlotVoidNoArgs::operator() ( const EventArgs )
inlinevirtual