fastdelegate::FastDelegate2< Param1, Param2, RetType > Class Template Reference#include <FastDelegate.h>
Inheritance diagram for fastdelegate::FastDelegate2< Param1, Param2, RetType >: ![]()
|
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 DelegateMemento & | GetMemento () |
void | SetMemento (const DelegateMemento &any) |
Private Types | |
typedef detail::DefaultVoidToVoid< RetType >::type | DesiredRetType |
typedef DesiredRetType(*) | StaticFunctionPtr (Param1 p1, Param2 p2) |
typedef RetType(*) | UnvoidStaticFunctionPtr (Param1 p1, Param2 p2) |
typedef RetType(detail::GenericClass::*) | GenericMemFn (Param1 p1, Param2 p2) |
typedef detail::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr > | ClosureType |
typedef fastdelegate::FastDelegate2::SafeBoolStruct | UselessTypedef |
typedef StaticFunctionPtr SafeBoolStruct::* | unspecified_bool_type |
Private Member Functions | |
RetType | InvokeStaticFunction (Param1 p1, Param2 p2) const |
Private Attributes | |
ClosureType | m_Closure |
Classes | |
struct | SafeBoolStruct |
typedef detail::DefaultVoidToVoid<RetType>::type fastdelegate::FastDelegate2< Param1, Param2, RetType >::DesiredRetType [private] |
typedef DesiredRetType(*) fastdelegate::FastDelegate2< Param1, Param2, RetType >::StaticFunctionPtr(Param1 p1, Param2 p2) [private] |
typedef RetType(*) fastdelegate::FastDelegate2< Param1, Param2, RetType >::UnvoidStaticFunctionPtr(Param1 p1, Param2 p2) [private] |
typedef RetType(detail::GenericClass::*) fastdelegate::FastDelegate2< Param1, Param2, RetType >::GenericMemFn(Param1 p1, Param2 p2) [private] |
typedef detail::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> fastdelegate::FastDelegate2< Param1, Param2, RetType >::ClosureType [private] |
typedef FastDelegate2 fastdelegate::FastDelegate2< Param1, Param2, RetType >::type |
typedef struct fastdelegate::FastDelegate2::SafeBoolStruct fastdelegate::FastDelegate2< Param1, Param2, RetType >::UselessTypedef [private] |
typedef StaticFunctionPtr SafeBoolStruct::* fastdelegate::FastDelegate2< Param1, Param2, RetType >::unspecified_bool_type [private] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 | ( | ) | [inline] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | [inline] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2) | function_to_bind | |||
) | [inline] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2) const | function_to_bind | |||
) | [inline] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 | ( | DesiredRetType(*)(Param1 p1, Param2 p2) | function_to_bind | ) | [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator= | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator== | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | const [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator!= | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | const [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator< | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | const [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator> | ( | const FastDelegate2< Param1, Param2, RetType > & | x | ) | const [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2) | function_to_bind | |||
) | [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2) const | function_to_bind | |||
) | [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator= | ( | DesiredRetType(*)(Param1 p1, Param2 p2) | function_to_bind | ) | [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind | ( | DesiredRetType(*)(Param1 p1, Param2 p2) | function_to_bind | ) | [inline] |
RetType fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator() | ( | Param1 | p1, | |
Param2 | p2 | |||
) | const [inline] |
fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator unspecified_bool_type | ( | ) | const [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator== | ( | StaticFunctionPtr | funcptr | ) | [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator!= | ( | StaticFunctionPtr | funcptr | ) | [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator! | ( | ) | const [inline] |
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::empty | ( | ) | const [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::clear | ( | ) | [inline] |
const DelegateMemento& fastdelegate::FastDelegate2< Param1, Param2, RetType >::GetMemento | ( | ) | [inline] |
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::SetMemento | ( | const DelegateMemento & | any | ) | [inline] |
RetType fastdelegate::FastDelegate2< Param1, Param2, RetType >::InvokeStaticFunction | ( | Param1 | p1, | |
Param2 | p2 | |||
) | const [inline, private] |
ClosureType fastdelegate::FastDelegate2< Param1, Param2, RetType >::m_Closure [private] |