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
824 {}

Member Function Documentation

void Platform::Details::__abi_CaptureBase::Delete ( __abi_CaptureBase __pThisArg,
void __pSmallCaptureArg 
)
inline
850  {
851  __pThisArg->~__abi_CaptureBase();
852  if (__pThisArg != __pSmallCaptureArg)
853  {
855  }
856  }
_CRTIMP 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
845  {
846  return (*reinterpret_cast<void***>(this))[__slotArg];
847  }
void Platform::Details::__abi_CaptureBase::operator delete ( void __ptrArg,
void __pSmallCaptureArg 
)
inline
839  {
840  __abi_CaptureBase* __pThis = static_cast<__abi_CaptureBase*>(__ptrArg);
841  __pThis->Delete(__pThis, __pSmallCaptureArg);
842  }
void* Platform::Details::__abi_CaptureBase::operator new ( size_t  __sizeArg,
void __pSmallCaptureArg 
)
inline
829  {
830  if (__sizeArg > __smallCaptureSize)
831  {
832  return reinterpret_cast<__abi_CaptureBase*>( ::Platform::Details::Heap::Allocate( __sizeArg ) );
833  }
834 
835  return __pSmallCaptureArg;
836  }
static const size_t __smallCaptureSize
Definition: vccorlib.h:827

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: