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

#include <pplcancellation_token.h>

Inheritance diagram for Concurrency::details::CancellationTokenRegistration_TaskProc:
Concurrency::details::_CancellationTokenRegistration Concurrency::details::_RefCounter

Public Member Functions

 CancellationTokenRegistration_TaskProc (TaskProc_t _Proc, _In_ void *_PData, int _InitialRefs)
 
- Public Member Functions inherited from Concurrency::details::_CancellationTokenRegistration
 _CancellationTokenRegistration (long _InitialRefs=1)
 
_CancellationTokenState_GetToken () const
 
- Public Member Functions inherited from Concurrency::details::_RefCounter
virtual ~_RefCounter ()
 
long _Reference ()
 
long _Release ()
 

Protected Member Functions

virtual void _Exec ()
 
- Protected Member Functions inherited from Concurrency::details::_CancellationTokenRegistration
virtual ~_CancellationTokenRegistration ()
 
- Protected Member Functions inherited from Concurrency::details::_RefCounter
virtual void _Destroy ()
 
 _RefCounter (long _InitialCount=1)
 

Private Attributes

TaskProc_t _M_proc
 
void_M_pData
 

Additional Inherited Members

- Protected Attributes inherited from Concurrency::details::_RefCounter
volatile long _M_refCount
 

Constructor & Destructor Documentation

Concurrency::details::CancellationTokenRegistration_TaskProc::CancellationTokenRegistration_TaskProc ( TaskProc_t  _Proc,
_In_ void _PData,
int  _InitialRefs 
)
inline
201  :
202  _CancellationTokenRegistration(_InitialRefs), _M_proc(_Proc), _M_pData(_PData)
203  {
204  }
void * _M_pData
Definition: pplcancellation_token.h:216
_CancellationTokenRegistration(long _InitialRefs=1)
Definition: pplcancellation_token.h:117
TaskProc_t _M_proc
Definition: pplcancellation_token.h:215

Member Function Documentation

virtual void Concurrency::details::CancellationTokenRegistration_TaskProc::_Exec ( )
inlineprotectedvirtual

Implements Concurrency::details::_CancellationTokenRegistration.

209  {
210  _M_proc(_M_pData);
211  }
void * _M_pData
Definition: pplcancellation_token.h:216
TaskProc_t _M_proc
Definition: pplcancellation_token.h:215

Member Data Documentation

void* Concurrency::details::CancellationTokenRegistration_TaskProc::_M_pData
private
TaskProc_t Concurrency::details::CancellationTokenRegistration_TaskProc::_M_proc
private

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