27 #ifndef _CEGUIMemberFunctionSlot_h_
28 #define _CEGUIMemberFunctionSlot_h_
30 #include "CEGUI/SlotFunctorBase.h"
52 virtual bool operator()(
const EventArgs& args)
54 return (d_object->*d_function)(args);
83 virtual bool operator()(
const EventArgs& args)
85 (d_object->*d_function)(args);
112 virtual bool operator()(
const EventArgs& )
114 return (d_object->*d_function)();
144 virtual bool operator()(
const EventArgs& )
146 (d_object->*d_function)();
158 #endif // end of guard _CEGUIMemberFunctionSlot_h_
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
void(T::* MemberFunctionType)(const EventArgs &)
Member function slot type.
Definition: MemberFunctionSlot.h:76
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:49
bool(T::* MemberFunctionType)(const EventArgs &)
Member function slot type.
Definition: MemberFunctionSlot.h:45
bool(T::* MemberFunctionType)()
Member function slot type.
Definition: MemberFunctionSlot.h:105
Slot template class that creates a functor that calls back via a class member function.
Definition: MemberFunctionSlot.h:41
Defines abstract interface which will be used when constructing various functor objects that bind slo...
Definition: SlotFunctorBase.h:43
Slot template class that creates a functor that calls back via a class member function. This variant doesn't require a handler that returns bool.
Definition: MemberFunctionSlot.h:72
void(T::* MemberFunctionType)()
Member function slot type.
Definition: MemberFunctionSlot.h:137
Slot template class that creates a functor that calls back via a class member function. This variant ignores passed EventArgs.
Definition: MemberFunctionSlot.h:101
Slot template class that creates a functor that calls back via a class member function. This variant ignores passed EventArgs and the handler doesn't have to return a bool.
Definition: MemberFunctionSlot.h:133