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

#include <pplconcrt.h>

Inheritance diagram for Concurrency::details::_TaskProcHandle:
Concurrency::details::_UnrealizedChore Concurrency::details::_Chore Concurrency::details::_AllocBase Concurrency::details::_PPLTaskHandle< _ReturnType, _InitialTaskHandle< _InternalReturnType, _Function, _TypeSelection >, details::_UnrealizedChore_t > Concurrency::details::_ContinuationTaskHandleBase Concurrency::task< _ReturnType >::_InitialTaskHandle< _InternalReturnType, _Function, _TypeSelection > Concurrency::details::_PPLTaskHandle< details::_NormalizeVoidToUnitType< _ContinuationReturnType >::_Type, _ContinuationTaskHandle< _InternalReturnType, _ContinuationReturnType, _Function, _IsTaskBased, _TypeSelection >, details::_ContinuationTaskHandleBase > Concurrency::task< _ReturnType >::_ContinuationTaskHandle< _InternalReturnType, _ContinuationReturnType, _Function, _IsTaskBased, _TypeSelection >

Public Member Functions

 _TaskProcHandle ()
 
virtual ~_TaskProcHandle ()
 
virtual void invoke () const =0
 
void operator() () const
 
- Public Member Functions inherited from Concurrency::details::_UnrealizedChore
 _UnrealizedChore ()
 
virtual ~_UnrealizedChore ()
 
void _Invoke ()
 
void _SetDetached (bool _FDetached)
 
Concurrency::details::_TaskCollectionBase_OwningCollection () const
 
void _SetRuntimeOwnsLifetime (bool fValue)
 
bool _GetRuntimeOwnsLifetime () const
 
void _PrepareSteal (ContextBase *_PContext)
 
- Public Member Functions inherited from Concurrency::details::_AllocBase
voidoperator new (size_t _Size)
 
void operator delete (void *_Ptr) throw ()
 
voidoperator new (size_t _Size, const std::nothrow_t &) throw ()
 
void operator delete (void *_Ptr, const std::nothrow_t &) throw ()
 
voidoperator new[] (size_t _Size)
 
void operator delete[] (void *_Ptr) throw ()
 
voidoperator new[] (size_t _Size, const std::nothrow_t &_No_throw) throw ()
 
void operator delete[] (void *_Ptr, const std::nothrow_t &_No_throw) throw ()
 
voidoperator new (size_t, void *_Location) throw ()
 
void operator delete (void *, void *) throw ()
 
void *__cdecl operator new[] (size_t, void *_Location) throw ()
 
void __cdecl operator delete[] (void *, void *) throw ()
 

Static Public Member Functions

static void __cdecl _RunChoreBridge (void *_Parameter)
 
- Static Public Member Functions inherited from Concurrency::details::_UnrealizedChore
template<typename _ChoreType , typename _Function >
static _ChoreType * _InternalAlloc (const _Function &_Func)
 

Additional Inherited Members

- Public Attributes inherited from Concurrency::details::_Chore
TaskProc m_pFunction
 
- Protected Member Functions inherited from Concurrency::details::_UnrealizedChore
_CRTIMP void _CheckTaskCollection ()
 
- Protected Member Functions inherited from Concurrency::details::_Chore
 _Chore (TaskProc _PFunction)
 
 _Chore ()
 
virtual ~_Chore ()
 
- Static Protected Member Functions inherited from Concurrency::details::_UnrealizedChore
template<typename _ChoreType >
static void __cdecl _InvokeBridge (void *_PContext)
 

Constructor & Destructor Documentation

Concurrency::details::_TaskProcHandle::_TaskProcHandle ( )
inline
100  {
101  this->m_pFunction = &Concurrency::details::_UnrealizedChore::_InvokeBridge<_TaskProcHandle>;
102  this->_SetRuntimeOwnsLifetime(true);
103  }
TaskProc m_pFunction
Definition: concrt.h:4313
void _SetRuntimeOwnsLifetime(bool fValue)
Definition: concrt.h:4347
virtual Concurrency::details::_TaskProcHandle::~_TaskProcHandle ( )
inlinevirtual
105 {}

Member Function Documentation

static void __cdecl Concurrency::details::_TaskProcHandle::_RunChoreBridge ( void _Parameter)
inlinestatic
114  {
115  auto _PTaskHandle = static_cast<_TaskProcHandle *>(_Parameter);
116  _AutoDeleter<_TaskProcHandle> _AutoDeleter(_PTaskHandle);
117  _PTaskHandle->invoke();
118  }
_TaskProcHandle()
Definition: pplconcrt.h:99
virtual void Concurrency::details::_TaskProcHandle::invoke ( ) const
pure virtual
void Concurrency::details::_TaskProcHandle::operator() ( ) const
inline
109  {
110  this->invoke();
111  }
virtual void invoke() const =0

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