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
3319  :
3320  _M_begin(_Begin), _M_end(_End), _M_fun(_Fun), _M_bucket(_M_fun._Combinable._Unsafe_push_back())
3321  {
3322  }
_Functor::_Bucket_type *const _M_bucket
Definition: ppl.h:3332
const _Functor & _M_fun
Definition: ppl.h:3330
const _Forward_iterator _M_end
Definition: ppl.h:3331
const _Forward_iterator _M_begin
Definition: ppl.h:3331

Member Function Documentation

template<typename _Forward_iterator , typename _Functor >
void Concurrency::_Parallel_reduce_fixed_worker< _Forward_iterator, _Functor >::operator() ( ) const
inline
3325  {
3326  _M_bucket->_Put(_M_fun._Sub_fun(_M_begin, _M_end, _M_fun._Identity_value));
3327  }
_Functor::_Bucket_type *const _M_bucket
Definition: ppl.h:3332
const _Functor & _M_fun
Definition: ppl.h:3330
const _Forward_iterator _M_end
Definition: ppl.h:3331
const _Forward_iterator _M_begin
Definition: ppl.h:3331
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: