#include <Delegate.h>
Public Types | |
typedef FastDelegate8 | type |
Public Member Functions | |
FastDelegate8 () | |
FastDelegate8 (const FastDelegate8 &x) | |
void | operator= (const FastDelegate8 &x) |
bool | operator== (const FastDelegate8 &x) const |
bool | operator!= (const FastDelegate8 &x) const |
bool | operator< (const FastDelegate8 &x) const |
bool | operator> (const FastDelegate8 &x) const |
template<class X, class Y> | |
FastDelegate8 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8)) | |
template<class X, class Y> | |
void | Bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8)) |
template<class X, class Y> | |
FastDelegate8 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) 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, Param6 p6, Param7 p7, Param8 p8) const) |
FastDelegate8 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8)) | |
void | operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8)) |
void | Bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8)) |
RetType | operator() (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) 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, Param6 p6, Param7 p7, Param8 p8) |
typedef RetType(*) | UnvoidStaticFunctionPtr (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) |
typedef RetType(Internal::GenericClass::*) | GenericMemFn (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) |
typedef Internal::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr > | ClosureType |
typedef CppDelegate::FastDelegate8::SafeBoolStruct | UselessTypedef |
typedef StaticFunctionPtr SafeBoolStruct::* | unspecified_bool_type |
Private Member Functions | |
RetType | InvokeStaticFunction (Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) const |
Private Attributes | |
ClosureType | m_Closure |
Classes | |
struct | SafeBoolStruct |
Definition at line 1428 of file Delegate.h.
typedef Internal::DefaultVoidToVoid<RetType>::type CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::DesiredRetType [private] |
Definition at line 1430 of file Delegate.h.
typedef DesiredRetType(*) CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::StaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) [private] |
Definition at line 1431 of file Delegate.h.
typedef RetType(*) CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::UnvoidStaticFunctionPtr(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) [private] |
Definition at line 1432 of file Delegate.h.
typedef RetType(Internal::GenericClass::*) CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::GenericMemFn(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) [private] |
Definition at line 1433 of file Delegate.h.
typedef Internal::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::ClosureType [private] |
Definition at line 1434 of file Delegate.h.
typedef FastDelegate8 CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::type |
Definition at line 1438 of file Delegate.h.
typedef struct CppDelegate::FastDelegate8::SafeBoolStruct CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::UselessTypedef [private] |
typedef StaticFunctionPtr SafeBoolStruct::* CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::unspecified_bool_type [private] |
Definition at line 1487 of file Delegate.h.
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::FastDelegate8 | ( | ) | [inline] |
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::FastDelegate8 | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | [inline] |
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::FastDelegate8 | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) | function_to_bind | |||
) | [inline] |
Definition at line 1456 of file Delegate.h.
01456 { 01457 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::FastDelegate8 | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) const | function_to_bind | |||
) | [inline] |
Definition at line 1463 of file Delegate.h.
01463 { 01464 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X*>(pthis), function_to_bind); }
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::FastDelegate8 | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator= | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | [inline] |
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator== | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator!= | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator< | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | const [inline] |
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator> | ( | const FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType > & | x | ) | const [inline] |
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::Bind | ( | Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) | function_to_bind | |||
) | [inline] |
Definition at line 1459 of file Delegate.h.
01459 { 01460 m_Closure.bindmemfunc(Internal::implicit_cast<X*>(pthis), function_to_bind); }
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::Bind | ( | const Y * | pthis, | |
DesiredRetType(X::*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) const | function_to_bind | |||
) | [inline] |
Definition at line 1466 of file Delegate.h.
01466 { 01467 m_Closure.bindconstmemfunc(Internal::implicit_cast<const X *>(pthis), function_to_bind); }
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator= | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) | function_to_bind | ) | [inline] |
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::Bind | ( | DesiredRetType(*)(Param1 p1, Param2 p2, Param3 p3, Param4 p4, Param5 p5, Param6 p6, Param7 p7, Param8 p8) | function_to_bind | ) | [inline] |
Definition at line 1475 of file Delegate.h.
01475 { 01476 m_Closure.bindstaticfunc(this, &FastDelegate8::InvokeStaticFunction, 01477 function_to_bind); }
RetType CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator() | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4, | |||
Param5 | p5, | |||
Param6 | p6, | |||
Param7 | p7, | |||
Param8 | p8 | |||
) | const [inline] |
Definition at line 1479 of file Delegate.h.
01479 { 01480 return (m_Closure.GetClosureThis()->*(m_Closure.GetClosureMemPtr()))(p1, p2, p3, p4, p5, p6, p7, p8); }
CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 1489 of file Delegate.h.
01489 { 01490 return IsEmpty()? 0: &SafeBoolStruct::m_nonzero; 01491 }
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator== | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1493 of file Delegate.h.
01493 { 01494 return m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator!= | ( | StaticFunctionPtr | funcptr | ) | [inline] |
Definition at line 1495 of file Delegate.h.
01495 { 01496 return !m_Closure.IsEqualToStaticFuncPtr(funcptr); }
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::operator! | ( | ) | const [inline] |
Definition at line 1497 of file Delegate.h.
01497 { // Is it bound to anything? 01498 return !m_Closure; }
bool CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::IsEmpty | ( | ) | const [inline] |
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::Clear | ( | ) | [inline] |
const Internal::DelegateMemento& CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::GetMemento | ( | ) | [inline, protected] |
void CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::SetMemento | ( | const Internal::DelegateMemento & | any | ) | [inline, protected] |
RetType CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::InvokeStaticFunction | ( | Param1 | p1, | |
Param2 | p2, | |||
Param3 | p3, | |||
Param4 | p4, | |||
Param5 | p5, | |||
Param6 | p6, | |||
Param7 | p7, | |||
Param8 | p8 | |||
) | const [inline, private] |
Definition at line 1508 of file Delegate.h.
01508 { 01509 return (*(m_Closure.GetStaticFunction()))(p1, p2, p3, p4, p5, p6, p7, p8); }
ClosureType CppDelegate::FastDelegate8< Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, RetType >::m_Closure [private] |
Definition at line 1435 of file Delegate.h.
MTÜ TTÜ Robotiklubi |