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...

+ 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 &)
 

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.