#include <Delegate.h>
Public Types | |
typedef FastDelegate4 | type |
Public Member Functions | |
FastDelegate4 () | |
FastDelegate4 (const FastDelegate4 &x) | |
void | operator= (const FastDelegate4 &x) |
bool | operator== (const FastDelegate4 &x) const |
bool | operator!= (const FastDelegate4 &x) const |
bool | operator< (const FastDelegate4 &x) const |
bool | operator> (const FastDelegate4 &x) const |
template<class X, class Y> | |
FastDelegate4 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4)) | |
template<class X, class Y> | |
void | Bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4)) |
template<class X, class Y> | |
FastDelegate4 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) const) | |
template<class X, class Y> | |
void | Bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) const) |
FastDelegate4 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4)) | |
void | operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4)) |
void | Bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4)) |
RetType | operator() (Param1 p1, Param2 p2, Param3 p3, Param4 p4) 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, Param4 p4) |
typedef RetType(*) | UnvoidStaticFunctionPtr (Param1 p1, Param2 p2, Param3 p3, Param4 p4) |
typedef RetType(Internal::GenericClass::*) | GenericMemFn (Param1 p1, Param2 p2, Param3 p3, Param4 p4) |
typedef Internal::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr > | ClosureType |
typedef CppDelegate::FastDelegate4::SafeBoolStruct | UselessTypedef |
typedef StaticFunctionPtr SafeBoolStruct::* | unspecified_bool_type |
Private Member Functions | |
RetType | InvokeStaticFunction (Param1 p1, Param2 p2, Param3 p3, Param4 p4) const |
Private Attributes | |
ClosureType | m_Closure |
Classes | |
struct | SafeBoolStruct |
Definition at line 1084 of file Delegate.h.
typedef Internal::DefaultVoidToVoid<RetType>::type CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::DesiredRetType [private] |
Definition at line 1086 of file Delegate.h.
typedef DesiredRetType(*) CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::StaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4) [private] |
Definition at line 1087 of file Delegate.h.
typedef RetType(*) CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::UnvoidStaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4) [private] |
Definition at line 1088 of file Delegate.h.
typedef RetType(Internal::GenericClass::*) CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::GenericMemFn(Param1 p1, Param2 p2, Param3 p3, Param4 p4) [private] |
Definition at line 1089 of file Delegate.h.
typedef Internal::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::ClosureType [private] |
Definition at line 1090 of file Delegate.h.
typedef FastDelegate4 CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::type |
Definition at line 1094 of file Delegate.h.
typedef struct CppDelegate::FastDelegate4::SafeBoolStruct CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::UselessTypedef [private] |
typedef StaticFunctionPtr SafeBoolStruct::* CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::unspecified_bool_type [private] |
Definition at line 1143 of file Delegate.h.
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::FastDelegate4 | ( | ) | [inline] |
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::FastDelegate4 | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | [inline] |
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::FastDelegate4 | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) | function_to_bind | |||
) | [inline] |
Definition at line 1112 of file Delegate.h.
01112 { 01113 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::FastDelegate4 | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) const | function_to_bind | |||
) | [inline] |
Definition at line 1119 of file Delegate.h.
01119 { 01120 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::FastDelegate4 | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator= | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | [inline] |
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator== | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator!= | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator< | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator> | ( | const FastDelegate4< Param1, Param2, Param3, Param4, RetType > & | x | ) | const [inline] |
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::Bind | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) | function_to_bind | |||
) | [inline] |
Definition at line 1115 of file Delegate.h.
01115 { 01116 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::Bind | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) const | function_to_bind | |||
) | [inline] |
Definition at line 1122 of file Delegate.h.
01122 { 01123 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X *>(pthis), function_to_bind); }
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator= | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::Bind | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4) | function_to_bind | ) | [inline] |
Definition at line 1131 of file Delegate.h.
01131 { 01132 m_Closure.bindstaticfunc(this, &FastDelegate4::InvokeStaticFunction, 01133 function_to_bind); }
RetType CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator() | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4 | |||
) | const [inline] |
Definition at line 1135 of file Delegate.h.
01135 { 01136 return (m_Closure.GetClosureThis()->*(m_Closure.GetClosureMemPtr()))(p1, p2, p3, p4); }
CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 1145 of file Delegate.h.
01145 { 01146 return IsEmpty()? 0: &SafeBoolStruct::m_nonzero; 01147 }
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator== | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1149 of file Delegate.h.
01149 { 01150 return m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator!= | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1151 of file Delegate.h.
01151 { 01152 return !m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::operator! | ( | ) | const [inline] |
Definition at line 1153 of file Delegate.h.
01153 { // Is it bound to anything? 01154 return !m_Closure; }
bool CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::IsEmpty | ( | ) | const [inline] |
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::Clear | ( | ) | [inline] |
const Internal::DelegateMemento& CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::GetMemento | ( | ) | [inline, protected] |
void CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::SetMemento | ( | const Internal::DelegateMemento & | any | ) | [inline, protected] |
RetType CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::InvokeStaticFunction | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4 | |||
) | const [inline, private] |
Definition at line 1164 of file Delegate.h.
01164 { 01165 return (*(m_Closure.GetStaticFunction()))(p1, p2, p3, p4); }
ClosureType CppDelegate::FastDelegate4< Param1, Param2, Param3, Param4, RetType >::m_Closure [private] |
Definition at line 1091 of file Delegate.h.
MTÜ TTÜ Robotiklubi |