Crazy Eddie's GUI System  0.8.7
CEGUI::MemberFunctionSlotVoidNoArgs< T > Class Template Reference

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

+ Inheritance diagram for CEGUI::MemberFunctionSlotVoidNoArgs< T >:
+ Collaboration diagram for CEGUI::MemberFunctionSlotVoidNoArgs< T >:

Public Types

typedef void(T::* MemberFunctionType) ()
 Member function slot type.
 

Public Member Functions

 MemberFunctionSlotVoidNoArgs (MemberFunctionType func, T *obj)
 
virtual bool operator() (const EventArgs &)
 

Detailed Description

template<typename T>
class CEGUI::MemberFunctionSlotVoidNoArgs< T >

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.

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