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

Callstack container, which is used to capture and preserve callstacks in ppltasks. Members of this class is examined by vc debugger, thus there will be no public access methods. Please note that names of this class should be kept stable for debugger examining. More...

#include <ppltasks.h>

Public Member Functions

 _TaskCreationCallstack ()
 
 __declspec (noinline) static _TaskCreationCallstack _CaptureMultiFramesCallstack(void *_SingleFrame
 
 if (_CaptureFrames > 1)
 

Static Public Member Functions

static _TaskCreationCallstack _CaptureSingleFrameCallstack (void *_SingleFrame)
 

Public Attributes

size_t _CaptureFrames
 
_csc _M_SingleFrame = _SingleFrame
 
return _csc
 

Private Attributes

void_M_SingleFrame
 
std::vector< void * > _M_frames
 

Detailed Description

Callstack container, which is used to capture and preserve callstacks in ppltasks. Members of this class is examined by vc debugger, thus there will be no public access methods. Please note that names of this class should be kept stable for debugger examining.

Constructor & Destructor Documentation

Concurrency::details::_TaskCreationCallstack::_TaskCreationCallstack ( )
inline
164  {
165  _M_SingleFrame = nullptr;
166  }
void * _M_SingleFrame
Definition: ppltasks.h:160

Member Function Documentation

Concurrency::details::_TaskCreationCallstack::__declspec ( noinline  )
static _TaskCreationCallstack Concurrency::details::_TaskCreationCallstack::_CaptureSingleFrameCallstack ( void _SingleFrame)
inlinestatic
170  {
172  _csc._M_SingleFrame = _SingleFrame;
173  return _csc;
174  }
return _csc
Definition: ppltasks.h:188
_TaskCreationCallstack()
Definition: ppltasks.h:163
Concurrency::details::_TaskCreationCallstack::if ( _CaptureFrames  ,
 
)
inline
183  {
184  _csc._M_frames.resize(_CaptureFrames);
185  // skip 2 frames to make sure callstack starts from user code
186  _csc._M_frames.resize(::Concurrency::details::platform::CaptureCallstack(&_csc._M_frames[0], 2, _CaptureFrames));
187  }
_CRTIMP2 size_t __cdecl CaptureCallstack(void **, size_t, size_t)
return _csc
Definition: ppltasks.h:188
size_t _CaptureFrames
Definition: ppltasks.h:179

Member Data Documentation

size_t Concurrency::details::_TaskCreationCallstack::_CaptureFrames
Initial value:
return Concurrency::details::_TaskCreationCallstack::_csc
std::vector<void *> Concurrency::details::_TaskCreationCallstack::_M_frames
private
void* Concurrency::details::_TaskCreationCallstack::_M_SingleFrame
private
_csc Concurrency::details::_TaskCreationCallstack::_M_SingleFrame = _SingleFrame

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