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
445  :
446  _M_func(_Callback)
447  {
448  }
std::function< void()> _M_func
Definition: ppltasks.h:476

Member Function Documentation

static void __cdecl Concurrency::details::_TaskProcThunk::_Bridge ( void _PData)
inlinestatic
451  {
452  _TaskProcThunk *_PThunk = reinterpret_cast<_TaskProcThunk *>(_PData);
453  _Holder _ThunkHolder(_PThunk);
454  _PThunk->_M_func();
455  }
_TaskProcThunk(const std::function< void()> &_Callback)
Definition: ppltasks.h:445
_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: