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

#include <MyGUI_Delegate.h>

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

Public Types

typedef void(* Func )(TP1 p1, TP2 p2)
 

Public Member Functions

 CStaticDelegate2 (Func _func)
 
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 TP1, typename TP2>
class MyGUI::delegates::CStaticDelegate2< TP1, TP2 >

Definition at line 41 of file MyGUI_Delegate.h.

Member Typedef Documentation

template<typename TP1 , typename TP2 >
typedef void(* MyGUI::delegates::CStaticDelegate2< TP1, TP2 >::Func)(TP1 p1, TP2 p2)

Definition at line 44 of file MyGUI_Delegate.h.

Constructor & Destructor Documentation

template<typename TP1 , typename TP2 >
MyGUI::delegates::CStaticDelegate2< TP1, TP2 >::CStaticDelegate2 ( Func  _func)
inline

Definition at line 46 of file MyGUI_Delegate.h.

Member Function Documentation

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

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

Definition at line 58 of file MyGUI_Delegate.h.

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

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

Definition at line 64 of file MyGUI_Delegate.h.

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

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

Definition at line 53 of file MyGUI_Delegate.h.

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

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

Definition at line 48 of file MyGUI_Delegate.h.


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