#include <Delegate.h>
Public Types | |
typedef FastDelegate5 | type |
Public Member Functions | |
FastDelegate5 () | |
FastDelegate5 (const FastDelegate5 &x) | |
void | operator= (const FastDelegate5 &x) |
bool | operator== (const FastDelegate5 &x) const |
bool | operator!= (const FastDelegate5 &x) const |
bool | operator< (const FastDelegate5 &x) const |
bool | operator> (const FastDelegate5 &x) const |
template<class X, class Y> | |
FastDelegate5 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5)) | |
template<class X, class Y> | |
void | Bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5)) |
template<class X, class Y> | |
FastDelegate5 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) const) | |
template<class X, class Y> | |
void | Bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) const) |
FastDelegate5 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5)) | |
void | operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5)) |
void | Bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5)) |
RetType | operator() (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) 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, Param5 p5) |
typedef RetType(*) | UnvoidStaticFunctionPtr (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) |
typedef RetType(Internal::GenericClass::*) | GenericMemFn (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) |
typedef Internal::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr > | ClosureType |
typedef CppDelegate::FastDelegate5::SafeBoolStruct | UselessTypedef |
typedef StaticFunctionPtr SafeBoolStruct::* | unspecified_bool_type |
Private Member Functions | |
RetType | InvokeStaticFunction (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) const |
Private Attributes | |
ClosureType | m_Closure |
Classes | |
struct | SafeBoolStruct |
Definition at line 1170 of file Delegate.h.
typedef Internal::DefaultVoidToVoid<RetType>::type CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::DesiredRetType [private] |
Definition at line 1172 of file Delegate.h.
typedef DesiredRetType(*) CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::StaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) [private] |
Definition at line 1173 of file Delegate.h.
typedef RetType(*) CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::UnvoidStaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) [private] |
Definition at line 1174 of file Delegate.h.
typedef RetType(Internal::GenericClass::*) CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::GenericMemFn(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) [private] |
Definition at line 1175 of file Delegate.h.
typedef Internal::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::ClosureType [private] |
Definition at line 1176 of file Delegate.h.
typedef FastDelegate5 CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::type |
Definition at line 1180 of file Delegate.h.
typedef struct CppDelegate::FastDelegate5::SafeBoolStruct CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::UselessTypedef [private] |
typedef StaticFunctionPtr SafeBoolStruct::* CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::unspecified_bool_type [private] |
Definition at line 1229 of file Delegate.h.
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::FastDelegate5 | ( | ) | [inline] |
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::FastDelegate5 | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | [inline] |
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::FastDelegate5 | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) | function_to_bind | |||
) | [inline] |
Definition at line 1198 of file Delegate.h.
01198 { 01199 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::FastDelegate5 | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) const | function_to_bind | |||
) | [inline] |
Definition at line 1205 of file Delegate.h.
01205 { 01206 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::FastDelegate5 | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator= | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | [inline] |
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator== | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator!= | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator< | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator> | ( | const FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType > & | x | ) | const [inline] |
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::Bind | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) | function_to_bind | |||
) | [inline] |
Definition at line 1201 of file Delegate.h.
01201 { 01202 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::Bind | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) const | function_to_bind | |||
) | [inline] |
Definition at line 1208 of file Delegate.h.
01208 { 01209 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X *>(pthis), function_to_bind); }
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator= | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::Bind | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5) | function_to_bind | ) | [inline] |
Definition at line 1217 of file Delegate.h.
01217 { 01218 m_Closure.bindstaticfunc(this, &FastDelegate5::InvokeStaticFunction, 01219 function_to_bind); }
RetType CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator() | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4, | |||
Param5 | p5 | |||
) | const [inline] |
Definition at line 1221 of file Delegate.h.
01221 { 01222 return (m_Closure.GetClosureThis()->*(m_Closure.GetClosureMemPtr()))(p1, p2, p3, p4, p5); }
CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 1231 of file Delegate.h.
01231 { 01232 return IsEmpty()? 0: &SafeBoolStruct::m_nonzero; 01233 }
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator== | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1235 of file Delegate.h.
01235 { 01236 return m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator!= | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1237 of file Delegate.h.
01237 { 01238 return !m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::operator! | ( | ) | const [inline] |
Definition at line 1239 of file Delegate.h.
01239 { // Is it bound to anything? 01240 return !m_Closure; }
bool CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::IsEmpty | ( | ) | const [inline] |
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::Clear | ( | ) | [inline] |
const Internal::DelegateMemento& CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::GetMemento | ( | ) | [inline, protected] |
void CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::SetMemento | ( | const Internal::DelegateMemento & | any | ) | [inline, protected] |
RetType CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::InvokeStaticFunction | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4, | |||
Param5 | p5 | |||
) | const [inline, private] |
Definition at line 1250 of file Delegate.h.
01250 { 01251 return (*(m_Closure.GetStaticFunction()))(p1, p2, p3, p4, p5); }
ClosureType CppDelegate::FastDelegate5< Param1, Param2, Param3, Param4, Param5, RetType >::m_Closure [private] |
Definition at line 1177 of file Delegate.h.
MTÜ TTÜ Robotiklubi |