Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIMemberFunctionSlot_h_
28 #define _CEGUIMemberFunctionSlot_h_
30 #include "CEGUI/SlotFunctorBase.h"
41 class MemberFunctionSlot :
public SlotFunctorBase
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_
void(T::* MemberFunctionType)()
Member function slot type.
Definition: MemberFunctionSlot.h:157
bool(T::* MemberFunctionType)()
Member function slot type.
Definition: MemberFunctionSlot.h:125
Slot template class that creates a functor that calls back via a class member function....
Definition: MemberFunctionSlot.h:153
bool(T::* MemberFunctionType)(const EventArgs &)
Member function slot type.
Definition: MemberFunctionSlot.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Slot template class that creates a functor that calls back via a class member function....
Definition: MemberFunctionSlot.h:92
void(T::* MemberFunctionType)(const EventArgs &)
Member function slot type.
Definition: MemberFunctionSlot.h:96
Slot template class that creates a functor that calls back via a class member function....
Definition: MemberFunctionSlot.h:121
Defines abstract interface which will be used when constructing various functor objects that bind slo...
Definition: SlotFunctorBase.h:63
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:69