SMIL  0.9.1
MemberFunctionSlot< T, eventT > Class Template Reference
+ Inheritance diagram for MemberFunctionSlot< T, eventT >:
+ Collaboration diagram for MemberFunctionSlot< T, eventT >:

Public Types

typedef void(T::* memberFunc) (eventT *)
 
typedef void(T::* voidMemberFunc) ()
 

Public Member Functions

void init (T *inst, memberFunc func)
 
void init (T *inst, voidMemberFunc func)
 
 MemberFunctionSlot (T *inst, memberFunc func)
 
 MemberFunctionSlot (T *inst, voidMemberFunc func)
 
- Public Member Functions inherited from Slot< eventT >
void operator() (eventT *)
 
- Public Member Functions inherited from BaseSlot
virtual void run (Event *=NULL)
 

Protected Member Functions

virtual void run (eventT *e=NULL)
 
- Protected Member Functions inherited from Slot< eventT >
virtual void _run (Event *e)
 
- Protected Member Functions inherited from BaseSlot
virtual void registerSignal (Signal *signal)
 
virtual void unregisterAll ()
 
virtual void unregisterSignal (Signal *signal, bool _disconnect=true)
 

Protected Attributes

memberFunc _function
 
T * _instance
 
voidMemberFunc _void_function
 
- Protected Attributes inherited from BaseSlot
vector< Signal * > _signals
 

The documentation for this class was generated from the following file: