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
487  :
488  _M_func(_Callback)
489  {
490  }
std::function< void()> _M_func
Definition: ppltasks.h:518

Member Function Documentation

static void __cdecl Concurrency::details::_TaskProcThunk::_Bridge ( void _PData)
inlinestatic
493  {
494  _TaskProcThunk *_PThunk = reinterpret_cast<_TaskProcThunk *>(_PData);
495  _Holder _ThunkHolder(_PThunk);
496  _PThunk->_M_func();
497  }
_TaskProcThunk(const std::function< void()> &_Callback)
Definition: ppltasks.h:487
_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: