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

#include <ppltaskscheduler.h>

Public Member Functions

 _Threadpool_task ()
 
virtual void _Invoke ()=0 throw ()
 
virtual ~_Threadpool_task ()
 
void _Schedule ()
 
void _Reschedule () const
 
bool _Is_scheduled () const throw ()
 

Static Private Member Functions

static void __cdecl _Callback (void *_TpTask)
 

Private Attributes

_Threadpool_chore _M_chore
 

Constructor & Destructor Documentation

Concurrency::details::_Threadpool_task::_Threadpool_task ( )
inline
52 : _M_chore{&_Callback, this} {}
static void __cdecl _Callback(void *_TpTask)
Definition: ppltaskscheduler.h:45
_Threadpool_chore _M_chore
Definition: ppltaskscheduler.h:43
virtual Concurrency::details::_Threadpool_task::~_Threadpool_task ( )
inlinevirtual
57  {
59  }
_CRTIMP2 void __cdecl _Release_chore(_Threadpool_chore *)
_Threadpool_chore _M_chore
Definition: ppltaskscheduler.h:43

Member Function Documentation

static void __cdecl Concurrency::details::_Threadpool_task::_Callback ( void _TpTask)
inlinestaticprivate
46  {
47  static_cast<_Threadpool_task*>(_TpTask)->_Invoke();
48  }
_Threadpool_task()
Definition: ppltaskscheduler.h:52
virtual void Concurrency::details::_Threadpool_task::_Invoke ( )
throw (
)
pure virtual
bool Concurrency::details::_Threadpool_task::_Is_scheduled ( ) const
throw (
)
inline
72  {
73  return _M_chore._M_work != nullptr;
74  }
void * _M_work
Definition: ppltaskscheduler.h:28
_Threadpool_chore _M_chore
Definition: ppltaskscheduler.h:43
void Concurrency::details::_Threadpool_task::_Reschedule ( ) const
inline
67  {
69  }
_CRTIMP2 int __cdecl _Reschedule_chore(const _Threadpool_chore *)
_Threadpool_chore _M_chore
Definition: ppltaskscheduler.h:43
void Concurrency::details::_Threadpool_task::_Schedule ( )
inline
62  {
64  }
_CRTIMP2 int __cdecl _Schedule_chore(_Threadpool_chore *)
_Threadpool_chore _M_chore
Definition: ppltaskscheduler.h:43

Member Data Documentation

_Threadpool_chore Concurrency::details::_Threadpool_task::_M_chore
private

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