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::_CancellationTokenCallback< _Function > Class Template Reference

#include <pplcancellation_token.h>

Inheritance diagram for Concurrency::details::_CancellationTokenCallback< _Function >:
Concurrency::details::_CancellationTokenRegistration Concurrency::details::_RefCounter

Public Member Functions

 _CancellationTokenCallback (const _Function &_Func)
 
- 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

_Function _M_function
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename _Function>
Concurrency::details::_CancellationTokenCallback< _Function >::_CancellationTokenCallback ( const _Function &  _Func)
inline
180  :
181  _M_function(_Func)
182  {
183  }
_Function _M_function
Definition: pplcancellation_token.h:194

Member Function Documentation

template<typename _Function>
virtual void Concurrency::details::_CancellationTokenCallback< _Function >::_Exec ( )
inlineprotectedvirtual

Implements Concurrency::details::_CancellationTokenRegistration.

188  {
189  _M_function();
190  }
_Function _M_function
Definition: pplcancellation_token.h:194

Member Data Documentation

template<typename _Function>
_Function Concurrency::details::_CancellationTokenCallback< _Function >::_M_function
private

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