MyGUI  3.2.1
Public Types | Public Member Functions
MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 > Class Template Reference

#include <MyGUI_Delegate.h>

+ Inheritance diagram for MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >:

Public Types

typedef void(T::* Method )(TP1 p1, TP2 p2)
 

Public Member Functions

 CMethodDelegate2 (IDelegateUnlink *_unlink, T *_object, Method _method)
 
virtual bool isType (const std::type_info &_type)
 
virtual void invoke (TP1 p1, TP2 p2)
 
virtual bool compare (IDelegate2< TP1, TP2 > *_delegate) const
 
virtual bool compare (IDelegateUnlink *_unlink) const
 
- Public Member Functions inherited from MyGUI::delegates::IDelegate2< TP1, TP2 >
virtual ~IDelegate2 ()
 

Detailed Description

template<typename T, typename TP1, typename TP2>
class MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >

Definition at line 76 of file MyGUI_Delegate.h.

Member Typedef Documentation

template<typename T , typename TP1 , typename TP2 >
typedef void(T::* MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::Method)(TP1 p1, TP2 p2)

Definition at line 79 of file MyGUI_Delegate.h.

Constructor & Destructor Documentation

template<typename T , typename TP1 , typename TP2 >
MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::CMethodDelegate2 ( IDelegateUnlink _unlink,
T *  _object,
Method  _method 
)
inline

Definition at line 81 of file MyGUI_Delegate.h.

Member Function Documentation

template<typename T , typename TP1 , typename TP2 >
virtual bool MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::compare ( IDelegate2< TP1, TP2 > *  _delegate) const
inlinevirtual

Implements MyGUI::delegates::IDelegate2< TP1, TP2 >.

Definition at line 93 of file MyGUI_Delegate.h.

template<typename T , typename TP1 , typename TP2 >
virtual bool MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::compare ( IDelegateUnlink _unlink) const
inlinevirtual

Reimplemented from MyGUI::delegates::IDelegate2< TP1, TP2 >.

Definition at line 100 of file MyGUI_Delegate.h.

template<typename T , typename TP1 , typename TP2 >
virtual void MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::invoke ( TP1  p1,
TP2  p2 
)
inlinevirtual

Implements MyGUI::delegates::IDelegate2< TP1, TP2 >.

Definition at line 88 of file MyGUI_Delegate.h.

template<typename T , typename TP1 , typename TP2 >
virtual bool MyGUI::delegates::CMethodDelegate2< T, TP1, TP2 >::isType ( const std::type_info &  _type)
inlinevirtual

Implements MyGUI::delegates::IDelegate2< TP1, TP2 >.

Definition at line 83 of file MyGUI_Delegate.h.


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