STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor > Class Template Reference

#include <ppl.h>

Public Member Functions

 _Parallel_reduce_fixed_worker (_Forward_iterator _Begin, _Forward_iterator _End, const _Functor &_Fun)
 
void operator() () const
 

Private Member Functions

_Parallel_reduce_fixed_workeroperator= (const _Parallel_reduce_fixed_worker &other)
 

Private Attributes

const _Functor & _M_fun
 
const _Forward_iterator _M_begin
 
const _Forward_iterator _M_end
 
_Functor::Bucket_type *const _M_bucket
 

Constructor & Destructor Documentation

template<typename _Forward_iterator , typename _Functor >
Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::_Parallel_reduce_fixed_worker ( _Forward_iterator  _Begin,
_Forward_iterator  _End,
const _Functor &  _Fun 
)
inline
3360  :
3361  _M_begin(_Begin), _M_end(_End), _M_fun(_Fun), _M_bucket(_M_fun._Combinable._Unsafe_push_back())
3362  {
3363  }
const _Functor & _M_fun
Definition: ppl.h:3371
const _Forward_iterator _M_end
Definition: ppl.h:3372
const _Forward_iterator _M_begin
Definition: ppl.h:3372
_Functor::Bucket_type *const _M_bucket
Definition: ppl.h:3373

Member Function Documentation

template<typename _Forward_iterator , typename _Functor >
void Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::operator() ( ) const
inline
3366  {
3367  _M_bucket->_Put(_M_fun._Sub_fun(_M_begin, _M_end, _M_fun._Identity_value));
3368  }
const _Functor & _M_fun
Definition: ppl.h:3371
const _Forward_iterator _M_end
Definition: ppl.h:3372
const _Forward_iterator _M_begin
Definition: ppl.h:3372
_Functor::Bucket_type *const _M_bucket
Definition: ppl.h:3373
template<typename _Forward_iterator , typename _Functor >
_Parallel_reduce_fixed_worker& Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::operator= ( const _Parallel_reduce_fixed_worker< _Forward_iterator, _Functor > &  other)
private

Member Data Documentation

template<typename _Forward_iterator , typename _Functor >
const _Forward_iterator Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::_M_begin
private
template<typename _Forward_iterator , typename _Functor >
_Functor::Bucket_type* const Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::_M_bucket
private
template<typename _Forward_iterator , typename _Functor >
const _Forward_iterator Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::_M_end
private
template<typename _Forward_iterator , typename _Functor >
const _Functor& Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::_M_fun
private

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