STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
Concurrency::details::_Task_completion_event_impl< _ResultType > Struct Template Reference

#include <ppltasks.h>

Public Types

typedef std::vector< typename _Task_ptr< _ResultType >::_Type_TaskList
 

Public Member Functions

 _Task_completion_event_impl ()
 
bool _HasUserException ()
 
 ~_Task_completion_event_impl ()
 

Public Attributes

_TaskList _M_tasks
 
std::mutex _M_taskListCritSec
 
_ResultHolder< _ResultType > _M_value
 
std::shared_ptr< _ExceptionHolder_M_exceptionHolder
 
bool _M_fHasValue
 
bool _M_fIsCanceled
 

Private Member Functions

 _Task_completion_event_impl (const _Task_completion_event_impl &)
 
_Task_completion_event_imploperator= (const _Task_completion_event_impl &)
 

Member Typedef Documentation

template<typename _ResultType >
typedef std::vector<typename _Task_ptr<_ResultType>::_Type> Concurrency::details::_Task_completion_event_impl< _ResultType >::_TaskList

Constructor & Destructor Documentation

template<typename _ResultType >
Concurrency::details::_Task_completion_event_impl< _ResultType >::_Task_completion_event_impl ( const _Task_completion_event_impl< _ResultType > &  )
private
template<typename _ResultType >
Concurrency::details::_Task_completion_event_impl< _ResultType >::_Task_completion_event_impl ( )
inline
2269  :
2270  _M_fHasValue(false), _M_fIsCanceled(false)
2271  {
2272  }
bool _M_fHasValue
Definition: ppltasks.h:2294
bool _M_fIsCanceled
Definition: ppltasks.h:2295
template<typename _ResultType >
Concurrency::details::_Task_completion_event_impl< _ResultType >::~_Task_completion_event_impl ( )
inline
2280  {
2281  for( auto _TaskIt = _M_tasks.begin(); _TaskIt != _M_tasks.end(); ++_TaskIt )
2282  {
2284  // Cancel the tasks since the event was never signaled or canceled.
2285  (*_TaskIt)->_Cancel(true);
2286  }
2287  }
bool _M_fHasValue
Definition: ppltasks.h:2294
#define _ASSERTE(expr)
Definition: crtdbg.h:707
_TaskList _M_tasks
Definition: ppltasks.h:2290
bool _M_fIsCanceled
Definition: ppltasks.h:2295

Member Function Documentation

template<typename _ResultType >
bool Concurrency::details::_Task_completion_event_impl< _ResultType >::_HasUserException ( )
inline
2275  {
2276  return _M_exceptionHolder != nullptr;
2277  }
std::shared_ptr< _ExceptionHolder > _M_exceptionHolder
Definition: ppltasks.h:2293
template<typename _ResultType >
_Task_completion_event_impl& Concurrency::details::_Task_completion_event_impl< _ResultType >::operator= ( const _Task_completion_event_impl< _ResultType > &  )
private

Member Data Documentation

template<typename _ResultType >
std::shared_ptr<_ExceptionHolder> Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_exceptionHolder
template<typename _ResultType >
bool Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_fHasValue
template<typename _ResultType >
bool Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_fIsCanceled
template<typename _ResultType >
std::mutex Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_taskListCritSec
template<typename _ResultType >
_TaskList Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_tasks
template<typename _ResultType >
_ResultHolder<_ResultType> Concurrency::details::_Task_completion_event_impl< _ResultType >::_M_value

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