STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator > Class Template Reference

#include <ppl.h>

Public Types

typedef _Parallel_fixed_chunk_helper< _Random_iterator, _Index_type, _Function, static_partitioner, _Is_iterator_Base
 

Public Member Functions

 _Parallel_localized_chunk_helper (_Index_type _Chunk_index, const _Random_iterator &_First, _Index_type _First_iteration, _Index_type _Last_iteration, const _Index_type &_Step, const _Function &_Func, affinity_partitioner &_Part)
 
void operator() () const
 

Private Member Functions

_Parallel_localized_chunk_helper const & operator= (_Parallel_localized_chunk_helper const &)
 

Private Attributes

location_M_chunk_location
 
_Base _M_fixed_helper
 

Member Typedef Documentation

template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
typedef _Parallel_fixed_chunk_helper<_Random_iterator, _Index_type, _Function, static_partitioner, _Is_iterator> Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::_Base

Constructor & Destructor Documentation

template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::_Parallel_localized_chunk_helper ( _Index_type  _Chunk_index,
const _Random_iterator &  _First,
_Index_type  _First_iteration,
_Index_type  _Last_iteration,
const _Index_type &  _Step,
const _Function &  _Func,
affinity_partitioner _Part 
)
inline
2321  :
2322  _M_fixed_helper(_Chunk_index, _First, _First_iteration, _Last_iteration, _Step, _Func, static_partitioner()),
2323  _M_chunk_location(_Part._Get_chunk_location(static_cast<unsigned int>(_Chunk_index)))
2324  {
2325  // Empty constructor because members are already assigned
2326  }
location & _M_chunk_location
Definition: ppl.h:2341
_Base _M_fixed_helper
Definition: ppl.h:2342

Member Function Documentation

template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
void Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::operator() ( ) const
inline
2330  {
2331  // Check here if location needs to be saved.
2333  {
2335  }
2336 
2337  _M_fixed_helper();
2338  }
location & _M_chunk_location
Definition: ppl.h:2341
static _CRTIMP location __cdecl current()
Returns a location object representing the most specific place the calling thread is executing...
_Base _M_fixed_helper
Definition: ppl.h:2342
bool _Is_system() const
Internal routine that tells whether a location represents the "system location". This indicates no sp...
Definition: concrt.h:2090
template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
_Parallel_localized_chunk_helper const& Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::operator= ( _Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator > const &  )
private

Member Data Documentation

template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
location& Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::_M_chunk_location
private
template<typename _Random_iterator , typename _Index_type , typename _Function , bool _Is_iterator>
_Base Concurrency::_Parallel_localized_chunk_helper< _Random_iterator, _Index_type, _Function, _Is_iterator >::_M_fixed_helper
private

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