Torque2D Reference
Classes | Public Types | Public Member Functions | List of all members
FastDelegate2< Param1, Param2, RetType > Class Template Reference

#include <FastDelegate.h>

Public Types

typedef FastDelegate2 type
 

Public Member Functions

 FastDelegate2 ()
 
 FastDelegate2 (const FastDelegate2 &x)
 
void operator= (const FastDelegate2 &x)
 
bool operator== (const FastDelegate2 &x) const
 
bool operator!= (const FastDelegate2 &x) const
 
bool operator< (const FastDelegate2 &x) const
 
bool operator> (const FastDelegate2 &x) const
 
template<class X , class Y >
 FastDelegate2 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
template<class X , class Y >
void bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
template<class X , class Y >
 FastDelegate2 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
template<class X , class Y >
void bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
 FastDelegate2 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
void operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
void bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
RetType operator() (Param1 p1, Param2 p2) const
 
 operator unspecified_bool_type () const
 
bool operator== (StaticFunctionPtr funcptr)
 
bool operator!= (StaticFunctionPtr funcptr)
 
bool operator! () const
 
bool empty () const
 
void clear ()
 
const DelegateMementoGetMemento ()
 
void SetMemento (const DelegateMemento &any)
 

Member Typedef Documentation

Constructor & Destructor Documentation

FastDelegate2 ( )
inline
FastDelegate2 ( const FastDelegate2< Param1, Param2, RetType > &  x)
inline
FastDelegate2 ( Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2)  function_to_bind 
)
inline
FastDelegate2 ( const Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2) const  function_to_bind 
)
inline
FastDelegate2 ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline

Member Function Documentation

void bind ( Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2)  function_to_bind 
)
inline
void bind ( const Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2) const  function_to_bind 
)
inline
void bind ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline
void clear ( )
inline
bool empty ( ) const
inline
const DelegateMemento& GetMemento ( )
inline
operator unspecified_bool_type ( ) const
inline
bool operator! ( ) const
inline
bool operator!= ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline
bool operator!= ( StaticFunctionPtr  funcptr)
inline
RetType operator() ( Param1  p1,
Param2  p2 
) const
inline
bool operator< ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline
void operator= ( const FastDelegate2< Param1, Param2, RetType > &  x)
inline
void operator= ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline
bool operator== ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline
bool operator== ( StaticFunctionPtr  funcptr)
inline
bool operator> ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline
void SetMemento ( const DelegateMemento any)
inline

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