Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface6::aggregator Class Reference

Basic aggregator interface. More...

#include <aggregator.h>

Inheritance diagram for tbb::interface6::aggregator:
Collaboration diagram for tbb::interface6::aggregator:

Public Member Functions

 aggregator ()
 
template<typename Body >
void execute (const Body &b)
 BASIC INTERFACE: Enter a function for exclusive execution by the aggregator. More...
 

Additional Inherited Members

- Private Member Functions inherited from tbb::interface6::aggregator_ext< internal::basic_handler >
 aggregator_ext (const internal::basic_handler &h)
 
void process (aggregator_operation *op)
 EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. More...
 
void execute_impl (aggregator_operation &op)
 

Detailed Description

Basic aggregator interface.

Definition at line 181 of file aggregator.h.

Constructor & Destructor Documentation

◆ aggregator()

tbb::interface6::aggregator::aggregator ( )
inline

Definition at line 183 of file aggregator.h.

183 : aggregator_ext<internal::basic_handler>(internal::basic_handler()) {}

Member Function Documentation

◆ execute()

template<typename Body >
void tbb::interface6::aggregator::execute ( const Body &  b)
inline

BASIC INTERFACE: Enter a function for exclusive execution by the aggregator.

The calling thread stores the function object in a basic_operation and places the operation in the aggregator's mailbox

Definition at line 188 of file aggregator.h.

188  {
189  internal::basic_operation<Body> op(b);
190  this->execute_impl(op);
191  }

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

Copyright © 2005-2019 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.