Torque2D Reference
Public Types | Public Member Functions | List of all members
FastDelegate< R(Param1, Param2) > Class Template Reference

#include <FastDelegate.h>

+ Inheritance diagram for FastDelegate< R(Param1, Param2) >:

Public Types

typedef FastDelegate2< Param1, Param2, R > BaseType
 
typedef FastDelegate SelfType
 
- Public Types inherited from FastDelegate2< Param1, Param2, R >
typedef FastDelegate2 type
 

Public Member Functions

 FastDelegate ()
 
template<class X , class Y >
 FastDelegate (Y *pthis, R(X::*function_to_bind)(Param1 p1, Param2 p2))
 
template<class X , class Y >
 FastDelegate (const Y *pthis, R(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
 FastDelegate (R(*function_to_bind)(Param1 p1, Param2 p2))
 
void operator= (const BaseType &x)
 
- Public Member Functions inherited from FastDelegate2< Param1, Param2, R >
 FastDelegate2 ()
 
 FastDelegate2 (const FastDelegate2 &x)
 
 FastDelegate2 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
 FastDelegate2 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
 FastDelegate2 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
void operator= (const FastDelegate2 &x)
 
void operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
bool operator== (const FastDelegate2 &x) const
 
bool operator== (StaticFunctionPtr funcptr)
 
bool operator!= (const FastDelegate2 &x) const
 
bool operator!= (StaticFunctionPtr funcptr)
 
bool operator< (const FastDelegate2 &x) const
 
bool operator> (const FastDelegate2 &x) const
 
void bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
void bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
void bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
operator() (Param1 p1, Param2 p2) const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool empty () const
 
void clear ()
 
const DelegateMementoGetMemento ()
 
void SetMemento (const DelegateMemento &any)
 

Member Typedef Documentation

typedef FastDelegate2< Param1, Param2, R > BaseType

Constructor & Destructor Documentation

FastDelegate ( )
inline
FastDelegate ( Y *  pthis,
R(X::*)(Param1 p1, Param2 p2)  function_to_bind 
)
inline
FastDelegate ( const Y *  pthis,
R(X::*)(Param1 p1, Param2 p2) const  function_to_bind 
)
inline
FastDelegate ( R(*)(Param1 p1, Param2 p2)  function_to_bind)
inline

Member Function Documentation

void operator= ( const BaseType x)
inline

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