#include <Delegate.h>
Public Types | |
typedef FastDelegate3 | type |
Public Member Functions | |
FastDelegate3 () | |
FastDelegate3 (const FastDelegate3 &x) | |
void | operator= (const FastDelegate3 &x) |
bool | operator== (const FastDelegate3 &x) const |
bool | operator!= (const FastDelegate3 &x) const |
bool | operator< (const FastDelegate3 &x) const |
bool | operator> (const FastDelegate3 &x) const |
template<class X, class Y> | |
FastDelegate3 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3)) | |
template<class X, class Y> | |
void | Bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3)) |
template<class X, class Y> | |
FastDelegate3 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3) const) | |
template<class X, class Y> | |
void | Bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3) const) |
FastDelegate3 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3)) | |
void | operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3)) |
void | Bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3)) |
RetType | operator() (Param1 p1, Param2 p2, Param3 p3) const |
operator unspecified_bool_type () const | |
bool | operator== (StaticFunctionPtr funcptr) |
bool | operator!= (StaticFunctionPtr funcptr) |
bool | operator! () const |
bool | IsEmpty () const |
void | Clear () |
Protected Member Functions | |
const Internal::DelegateMemento & | GetMemento () |
void | SetMemento (const Internal::DelegateMemento &any) |
Private Types | |
typedef Internal::DefaultVoidToVoid< RetType >::type | DesiredRetType |
typedef DesiredRetType(*) | StaticFunctionPtr (Param1 p1, Param2 p2, Param3 p3) |
typedef RetType(*) | UnvoidStaticFunctionPtr (Param1 p1, Param2 p2, Param3 p3) |
typedef RetType(Internal::GenericClass::*) | GenericMemFn (Param1 p1, Param2 p2, Param3 p3) |
typedef Internal::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr > | ClosureType |
typedef CppDelegate::FastDelegate3::SafeBoolStruct | UselessTypedef |
typedef StaticFunctionPtr SafeBoolStruct::* | unspecified_bool_type |
Private Member Functions | |
RetType | InvokeStaticFunction (Param1 p1, Param2 p2, Param3 p3) const |
Private Attributes | |
ClosureType | m_Closure |
Classes | |
struct | SafeBoolStruct |
Definition at line 998 of file Delegate.h.
typedef Internal::DefaultVoidToVoid<RetType>::type CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::DesiredRetType [private] |
Definition at line 1000 of file Delegate.h.
typedef DesiredRetType(*) CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::StaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3) [private] |
Definition at line 1001 of file Delegate.h.
typedef RetType(*) CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::UnvoidStaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3) [private] |
Definition at line 1002 of file Delegate.h.
typedef RetType(Internal::GenericClass::*) CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::GenericMemFn(Param1 p1, Param2 p2, Param3 p3) [private] |
Definition at line 1003 of file Delegate.h.
typedef Internal::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::ClosureType [private] |
Definition at line 1004 of file Delegate.h.
typedef FastDelegate3 CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::type |
Definition at line 1008 of file Delegate.h.
typedef struct CppDelegate::FastDelegate3::SafeBoolStruct CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::UselessTypedef [private] |
typedef StaticFunctionPtr SafeBoolStruct::* CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::unspecified_bool_type [private] |
Definition at line 1057 of file Delegate.h.
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::FastDelegate3 | ( | ) | [inline] |
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::FastDelegate3 | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | [inline] |
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::FastDelegate3 | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3) | function_to_bind | |||
) | [inline] |
Definition at line 1026 of file Delegate.h.
01026 { 01027 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::FastDelegate3 | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3) const | function_to_bind | |||
) | [inline] |
Definition at line 1033 of file Delegate.h.
01033 { 01034 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::FastDelegate3 | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator= | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | [inline] |
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator== | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator!= | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator< | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator> | ( | const FastDelegate3< Param1, Param2, Param3, RetType > & | x | ) | const [inline] |
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::Bind | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3) | function_to_bind | |||
) | [inline] |
Definition at line 1029 of file Delegate.h.
01029 { 01030 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::Bind | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3) const | function_to_bind | |||
) | [inline] |
Definition at line 1036 of file Delegate.h.
01036 { 01037 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X *>(pthis), function_to_bind); }
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator= | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::Bind | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3) | function_to_bind | ) | [inline] |
Definition at line 1045 of file Delegate.h.
01045 { 01046 m_Closure.bindstaticfunc(this, &FastDelegate3::InvokeStaticFunction, 01047 function_to_bind); }
RetType CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator() | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3 | |||
) | const [inline] |
Definition at line 1049 of file Delegate.h.
01049 { 01050 return (m_Closure.GetClosureThis()->*(m_Closure.GetClosureMemPtr()))(p1, p2, p3); }
CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 1059 of file Delegate.h.
01059 { 01060 return IsEmpty()? 0: &SafeBoolStruct::m_nonzero; 01061 }
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator== | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1063 of file Delegate.h.
01063 { 01064 return m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator!= | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1065 of file Delegate.h.
01065 { 01066 return !m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::operator! | ( | ) | const [inline] |
Definition at line 1067 of file Delegate.h.
01067 { // Is it bound to anything? 01068 return !m_Closure; }
bool CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::IsEmpty | ( | ) | const [inline] |
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::Clear | ( | ) | [inline] |
const Internal::DelegateMemento& CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::GetMemento | ( | ) | [inline, protected] |
void CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::SetMemento | ( | const Internal::DelegateMemento & | any | ) | [inline, protected] |
RetType CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::InvokeStaticFunction | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3 | |||
) | const [inline, private] |
Definition at line 1078 of file Delegate.h.
01078 { 01079 return (*(m_Closure.GetStaticFunction()))(p1, p2, p3); }
ClosureType CppDelegate::FastDelegate3< Param1, Param2, Param3, RetType >::m_Closure [private] |
Definition at line 1005 of file Delegate.h.
MTÜ TTÜ Robotiklubi |