Crazy Eddie's GUI System 0.8.7
Loading...
Searching...
No Matches
CEGUI::FreeFunctionSlotVoid Class Reference

Slot functor class that calls back via a free function pointer. This variant doesn't require a handler that returns bool. More...

#include <FreeFunctionSlot.h>

+ Inheritance diagram for CEGUI::FreeFunctionSlotVoid:
+ Collaboration diagram for CEGUI::FreeFunctionSlotVoid:

Public Types

typedef void SlotFunction(const EventArgs &)
 Slot function type.
 

Public Member Functions

 FreeFunctionSlotVoid (SlotFunction *func)
 
virtual bool operator() (const EventArgs &args)
 
- Public Member Functions inherited from CEGUI::SlotFunctorBase

Detailed Description

Slot functor class that calls back via a free function pointer. This variant doesn't require a handler that returns bool.

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

Member Function Documentation

◆ operator()()

virtual bool CEGUI::FreeFunctionSlotVoid::operator() ( const EventArgs & args)
inlinevirtual