STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Platform::Details::__abi_CaptureBase Struct Reference

#include <vccorlib.h>

Inheritance diagram for Platform::Details::__abi_CaptureBase:
Platform::Details::__abi_FunctorCapture< __TFunctor, __TReturnType, __TArgs >

Public Member Functions

voidoperator new (size_t __sizeArg, void *__pSmallCaptureArg)
 
void operator delete (void *__ptrArg, void *__pSmallCaptureArg)
 
voidGetVFunction (int __slotArg)
 
void Delete (__abi_CaptureBase *__pThisArg, void *__pSmallCaptureArg)
 

Static Public Attributes

static const size_t __smallCaptureSize = 4 * sizeof(void*)
 

Protected Member Functions

virtual __stdcall ~__abi_CaptureBase ()
 

Constructor & Destructor Documentation

virtual __stdcall Platform::Details::__abi_CaptureBase::~__abi_CaptureBase ( )
inlineprotectedvirtual
830 {}

Member Function Documentation

void Platform::Details::__abi_CaptureBase::Delete ( __abi_CaptureBase __pThisArg,
void __pSmallCaptureArg 
)
inline
856  {
857  __pThisArg->~__abi_CaptureBase();
858  if (__pThisArg != __pSmallCaptureArg)
859  {
861  }
862  }
_CONCRTIMP void __cdecl Free(_Pre_maybenull_ _Post_invalid_ void *_PAllocation)
Releases a block of memory previously allocated by the Alloc method to the Concurrency Runtime Cachin...
void* Platform::Details::__abi_CaptureBase::GetVFunction ( int  __slotArg)
inline
851  {
852  return (*reinterpret_cast<void***>(this))[__slotArg];
853  }
void Platform::Details::__abi_CaptureBase::operator delete ( void __ptrArg,
void __pSmallCaptureArg 
)
inline
845  {
846  __abi_CaptureBase* __pThis = static_cast<__abi_CaptureBase*>(__ptrArg);
847  __pThis->Delete(__pThis, __pSmallCaptureArg);
848  }
void* Platform::Details::__abi_CaptureBase::operator new ( size_t  __sizeArg,
void __pSmallCaptureArg 
)
inline
835  {
836  if (__sizeArg > __smallCaptureSize)
837  {
838  return reinterpret_cast<__abi_CaptureBase*>( ::Platform::Details::Heap::Allocate( __sizeArg ) );
839  }
840 
841  return __pSmallCaptureArg;
842  }
static const size_t __smallCaptureSize
Definition: vccorlib.h:833

Member Data Documentation

const size_t Platform::Details::__abi_CaptureBase::__smallCaptureSize = 4 * sizeof(void*)
static

The documentation for this struct was generated from the following file: