MyGUI  3.2.0
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

Detailed Description

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

Definition at line 101 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 104 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 106 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 [inline, virtual]

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

Definition at line 120 of file MyGUI_Delegate.h.

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

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

Definition at line 132 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 
) [inline, virtual]

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

Definition at line 115 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) [inline, virtual]

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

Definition at line 109 of file MyGUI_Delegate.h.


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