Crazy Eddie's GUI System 0.8.7
Unofficial reformatted copy of the 0.8.7 docs
Loading...
Searching...
No Matches
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...

#include <MemberFunctionSlot.h>

Inheritance diagram for CEGUI::MemberFunctionSlotVoidNoArgs< T >:
[legend]
Collaboration diagram for CEGUI::MemberFunctionSlotVoidNoArgs< T >:
[legend]

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.

Member Function Documentation

◆ operator()()

template<typename T >
virtual bool CEGUI::MemberFunctionSlotVoidNoArgs< T >::operator() ( const EventArgs &  )
inlinevirtual