Intel(R) Threading Building Blocks Doxygen Documentation version 4.2.3
Requirements on parallel_scan body

Class Body implementing the concept of parallel_scan body must define:

  • Body::Body( Body&, split );
    Dummy type that distinguishes splitting constructor from copy constructor.
    Definition: tbb_stddef.h:416
    Splitting constructor. Split b so that this and b can accumulate separately
  • Body::~Body();
    Destructor
  • void Body::operator()( const Range& r, pre_scan_tag );
    Used to indicate that the initial scan is being performed.
    Definition: parallel_scan.h:32
    Preprocess iterations for range r
  • void Body::operator()( const Range& r, final_scan_tag );
    Used to indicate that the final scan is being performed.
    Definition: parallel_scan.h:39
    Do final processing for iterations of range r
  • void Body::reverse_join( Body& a );
    Merge preprocessing state of a into this, where a was created earlier from b by b's splitting constructor

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.