STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
Concurrency::details::_TaskProcThunk Struct Reference

Helper object used for LWT invocation. More...

#include <ppltasks.h>

Classes

struct  _Holder
 

Public Member Functions

 _TaskProcThunk (const std::function< void()> &_Callback)
 

Static Public Member Functions

static void __cdecl _Bridge (void *_PData)
 

Private Member Functions

_TaskProcThunkoperator= (const _TaskProcThunk &)
 

Private Attributes

std::function< void()> _M_func
 

Detailed Description

Helper object used for LWT invocation.

Constructor & Destructor Documentation

Concurrency::details::_TaskProcThunk::_TaskProcThunk ( const std::function< void()> &  _Callback)
inline
446  :
447  _M_func(_Callback)
448  {
449  }
std::function< void()> _M_func
Definition: ppltasks.h:477

Member Function Documentation

static void __cdecl Concurrency::details::_TaskProcThunk::_Bridge ( void _PData)
inlinestatic
452  {
453  _TaskProcThunk *_PThunk = reinterpret_cast<_TaskProcThunk *>(_PData);
454  _Holder _ThunkHolder(_PThunk);
455  _PThunk->_M_func();
456  }
_TaskProcThunk(const std::function< void()> &_Callback)
Definition: ppltasks.h:446
_TaskProcThunk& Concurrency::details::_TaskProcThunk::operator= ( const _TaskProcThunk )
private

Member Data Documentation

std::function<void()> Concurrency::details::_TaskProcThunk::_M_func
private

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