Code::Blocks  SVN r11506
Public Member Functions | Private Types | Private Attributes | List of all members
cbEventFunctor< ClassType, EventType > Class Template Reference

Event functor class. More...

#include <cbfunctor.h>

Inheritance diagram for cbEventFunctor< ClassType, EventType >:
Collaboration diagram for cbEventFunctor< ClassType, EventType >:

Public Member Functions

 cbEventFunctor (ClassType *this_, Member member)
 
 cbEventFunctor (const cbEventFunctor< ClassType, EventType > &rhs)
 
void * GetThis () override
 
void Call (EventType &event) override
 
- Public Member Functions inherited from IFunctorBase
virtual ~IFunctorBase ()
 

Private Types

typedef void(ClassType::* Member) (EventType &)
 

Private Attributes

ClassType * m_pThis
 
Member m_pMember
 

Detailed Description

template<class ClassType, typename EventType>
class cbEventFunctor< ClassType, EventType >

Event functor class.

Definition at line 37 of file cbfunctor.h.

Member Typedef Documentation

◆ Member

template<class ClassType, typename EventType>
typedef void(ClassType::* cbEventFunctor< ClassType, EventType >::Member) (EventType &)
private

Definition at line 40 of file cbfunctor.h.

Constructor & Destructor Documentation

◆ cbEventFunctor() [1/2]

template<class ClassType, typename EventType>
cbEventFunctor< ClassType, EventType >::cbEventFunctor ( ClassType *  this_,
Member  member 
)
inline

Definition at line 44 of file cbfunctor.h.

◆ cbEventFunctor() [2/2]

template<class ClassType, typename EventType>
cbEventFunctor< ClassType, EventType >::cbEventFunctor ( const cbEventFunctor< ClassType, EventType > &  rhs)
inline

Definition at line 45 of file cbfunctor.h.

Member Function Documentation

◆ Call()

template<class ClassType, typename EventType>
void cbEventFunctor< ClassType, EventType >::Call ( EventType &  event)
inlineoverridevirtual

Implements IEventFunctorBase< EventType >.

Definition at line 49 of file cbfunctor.h.

References GetTypeName().

◆ GetThis()

template<class ClassType, typename EventType>
void* cbEventFunctor< ClassType, EventType >::GetThis ( )
inlineoverridevirtual

Implements IFunctorBase.

Definition at line 46 of file cbfunctor.h.

Member Data Documentation

◆ m_pMember

template<class ClassType, typename EventType>
Member cbEventFunctor< ClassType, EventType >::m_pMember
private

Definition at line 42 of file cbfunctor.h.

◆ m_pThis

template<class ClassType, typename EventType>
ClassType* cbEventFunctor< ClassType, EventType >::m_pThis
private

Definition at line 41 of file cbfunctor.h.


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