SO3Engine
|
Delegate.h
Go to the documentation of this file.
16#if defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__VECTOR_C) && !defined(__ICL) && !defined(__BORLANDC__)
336 inline GenericMemFunc GetClosureMemPtr() const { return reinterpret_cast<GenericMemFunc>(m_pFunction); }
405 typedef detail::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> ClosureType;
433 FastDelegate2(const Y *pthis, DesiredRetType (X::* function_to_bind)(Param1 p1, Param2 p2) const) {
bool operator>(const DelegateMemento &right)
Definition Delegate.h:285
bool IsEqual(const DelegateMemento &x) const
Definition Delegate.h:242
DelegateMemento(const DelegateMemento &right)
Definition Delegate.h:288
void(detail::GenericClass::* GenericMemFuncType)()
Definition Delegate.h:223
DelegateMemento()
Definition Delegate.h:232
bool operator!() const
Definition Delegate.h:273
void(* GenericFuncPtr)()
Definition Delegate.h:227
bool operator<(const DelegateMemento &right)
Definition Delegate.h:282
GenericMemFuncType m_pFunction
Definition Delegate.h:225
GenericFuncPtr m_pStaticFunction
Definition Delegate.h:228
DelegateMemento & operator=(const DelegateMemento &right)
Definition Delegate.h:278
detail::GenericClass * m_pthis
Definition Delegate.h:224
bool IsLess(const DelegateMemento &right) const
Definition Delegate.h:260
FastDelegate2(const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
Definition Delegate.h:433
void operator=(const FastDelegate2 &x)
Definition Delegate.h:414
bool operator!=(StaticFunctionPtr funcptr)
Definition Delegate.h:465
void bind(const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
Definition Delegate.h:436
RetType operator()(Param1 p1, Param2 p2) const
Definition Delegate.h:449
const DelegateMemento & GetMemento()
Definition Delegate.h:473
bool operator>(const FastDelegate2 &x) const
Definition Delegate.h:422
bool operator==(StaticFunctionPtr funcptr)
Definition Delegate.h:463
bool operator!=(const FastDelegate2 &x) const
Definition Delegate.h:418
bool operator==(const FastDelegate2 &x) const
Definition Delegate.h:416
FastDelegate2(Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
Definition Delegate.h:426
FastDelegate2(DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
Definition Delegate.h:440
void SetMemento(const DelegateMemento &any)
Definition Delegate.h:474
void bind(DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
Definition Delegate.h:445
bool operator<(const FastDelegate2 &x) const
Definition Delegate.h:420
FastDelegate2(const FastDelegate2 &x)
Definition Delegate.h:412
void bind(Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
Definition Delegate.h:429
GenericClass * GetClosureThis() const
Definition Delegate.h:335
UnvoidStaticFuncPtr GetStaticFunction() const
Definition Delegate.h:359
void bindconstmemfunc(const X *pthis, XMemFunc function_to_bind)
Definition Delegate.h:318
GenericMemFunc GetClosureMemPtr() const
Definition Delegate.h:336
void bindmemfunc(X *pthis, XMemFunc function_to_bind)
Definition Delegate.h:309
void CopyFrom(DerivedClass *pParent, const DelegateMemento &right)
Definition Delegate.h:364
void bindstaticfunc(DerivedClass *pParent, ParentInvokerSig static_function_invoker, StaticFuncPtr function_to_bind)
Definition Delegate.h:350
void bindmemfunc(const X *pthis, XMemFunc function_to_bind)
Definition Delegate.h:327
bool IsEqualToStaticFuncPtr(StaticFuncPtr funcptr)
Definition Delegate.h:390
void CopyFrom(DerivedClass *pParent, const DelegateMemento &x)
Definition Delegate.h:341
OutputClass horrible_cast(const InputClass input)
Definition Delegate.h:47
OutputClass implicit_cast(InputClass input)
Definition Delegate.h:38
const int SINGLE_MEMFUNCPTR_SIZE
Definition Delegate.h:81
Definition Delegate.h:33
void type
Definition Delegate.h:67
GenericVirtualClass *(GenericVirtualClass::* ProbePtrType)()
Definition Delegate.h:138
GenericVirtualClass * GetThis()
Definition Delegate.h:139
void(GenericClass::* codeptr)()
Definition Delegate.h:132
int vtable_index
Definition Delegate.h:134
static GenericClass * Convert(X *pthis, XFuncType function_to_bind, GenericMemFuncType &bound_func)
Definition Delegate.h:172
static GenericClass * Convert(X *pthis, XFuncType function_to_bind, GenericMemFuncType &bound_func)
Definition Delegate.h:113
static GenericClass * Convert(X *pthis, XFuncType function_to_bind, GenericMemFuncType &bound_func)
Definition Delegate.h:145
static GenericClass * Convert(X *pthis, XFuncType function_to_bind, GenericMemFuncType &bound_func)
Definition Delegate.h:96
static GenericClass * Convert(X *pthis, XFuncType function_to_bind, GenericMemFuncType &bound_func)
Definition Delegate.h:85
DefaultVoid type
Definition Delegate.h:71
Generated by 1.9.8