27 #ifndef _CEGUISubscriberSlot_h_ 28 #define _CEGUISubscriberSlot_h_ 30 #include "CEGUI/Base.h" 31 #include "CEGUI/FreeFunctionSlot.h" 32 #include "CEGUI/FunctorCopySlot.h" 33 #include "CEGUI/FunctorReferenceSlot.h" 34 #include "CEGUI/FunctorPointerSlot.h" 35 #include "CEGUI/MemberFunctionSlot.h" 36 #include "CEGUI/FunctorReferenceBinder.h" 51 class CEGUIEXPORT SubscriberSlot :
52 public AllocatedObject<SubscriberSlot>
115 return (*d_functor_impl)(args);
124 return d_functor_impl != 0;
205 #endif // end of guard _CEGUISubscriberSlot_h_ SubscriberSlot(bool(T::*function)(const EventArgs &), T *obj)
Creates a SubscriberSlot that is bound to a member function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:140
Slot template class that creates a functor that calls back via a functor object pointer.
Definition: cegui/include/CEGUI/FunctorPointerSlot.h:41
Slot template class that creates a functor that calls back via a copy of a functor object...
Definition: cegui/include/CEGUI/FunctorCopySlot.h:259
SubscriberSlot(FreeFunctionSlotNoArgs::SlotFunction *func)
Creates a SubscriberSlot that is bound to a free function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:85
void( SlotFunction)(const EventArgs &)
Slot function type.
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:72
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
Base class used as the argument to all subscribers Event object.
Definition: cegui/include/CEGUI/EventArgs.h:49
SubscriberSlot(void(T::*function)(), T *obj)
Creates a SubscriberSlot that is bound to a member function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:167
Slot functor class that calls back via a free function pointer. This variant ignores passed EventArgs...
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:123
Slot template class that creates a functor that calls back via a functor object reference.
Definition: cegui/include/CEGUI/FunctorReferenceSlot.h:41
SubscriberSlot class which is used when subscribing to events.
Definition: cegui/include/CEGUI/SubscriberSlot.h:51
SubscriberSlot(const T &functor)
Creates a SubscriberSlot that is bound to a copy of a functor object.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:185
SubscriberSlot(FreeFunctionSlotVoidNoArgs::SlotFunction *func)
Creates a SubscriberSlot that is bound to a free function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:96
Slot functor class that calls back via a free function pointer. This variant doesn't require a handle...
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:68
Slot functor class that calls back via a free function pointer. This variant ignores passed EventArgs...
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:94
bool( SlotFunction)(const EventArgs &)
Slot function type.
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:44
SubscriberSlot(void(T::*function)(const EventArgs &), T *obj)
Creates a SubscriberSlot that is bound to a member function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:149
Slot template class that creates a functor that calls back via a class member function.
Definition: cegui/include/CEGUI/MemberFunctionSlot.h:41
Defines abstract interface which will be used when constructing various functor objects that bind slo...
Definition: cegui/include/CEGUI/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: cegui/include/CEGUI/MemberFunctionSlot.h:72
SubscriberSlot(bool(T::*function)(), T *obj)
Creates a SubscriberSlot that is bound to a member function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:158
bool( SlotFunction)()
Slot function type.
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:98
bool operator()(const EventArgs &args) const
Invokes the slot functor that is bound to this Subscriber. Returns whatever the slot returns...
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:113
SubscriberSlot(const FunctorReferenceBinder< T > &binder)
Creates a SubscriberSlot that is bound to a functor object reference.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:176
void( SlotFunction)()
Slot function type.
Definition: cegui/include/CEGUI/FreeFunctionSlot.h:127
SubscriberSlot(T *functor)
Creates a SubscriberSlot that is bound to a functor pointer.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:194
Slot template class that creates a functor that calls back via a class member function. This variant ignores passed EventArgs.
Definition: cegui/include/CEGUI/MemberFunctionSlot.h:101
Class that enables the creation of a reference binding for a functor object to be used as a callback ...
Definition: cegui/include/CEGUI/FunctorReferenceBinder.h:41
bool connected() const
Returns whether the SubscriberSlot is internally connected (bound).
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:122
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: cegui/include/CEGUI/MemberFunctionSlot.h:133
SubscriberSlot(FreeFunctionSlotVoid::SlotFunction *func)
Creates a SubscriberSlot that is bound to a free function.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/SubscriberSlot.h:74