Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Class the user supplied algorithm body uses to add new tasks. More...
#include <parallel_do.h>
Public Member Functions | |
void | add (const Item &item) |
Add a work item to a running parallel_do. More... | |
void | add (Item &&item) |
Private Member Functions | |
parallel_do_feeder () | |
virtual | ~parallel_do_feeder () |
virtual void | internal_add_copy (const Item &item)=0 |
virtual void | internal_add_move (Item &&item)=0 |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
Friends | |
template<typename Body_ , typename Item_ > | |
class | internal::parallel_do_feeder_impl |
Class the user supplied algorithm body uses to add new tasks.
Item | Work item type |
Definition at line 40 of file parallel_do.h.
|
inlineprivate |
Definition at line 42 of file parallel_do.h.
|
inlineprivatevirtual |
Definition at line 43 of file parallel_do.h.
|
inline |
Add a work item to a running parallel_do.
Definition at line 51 of file parallel_do.h.
References tbb::interface9::parallel_do_feeder< Item >::internal_add_copy().
|
inline |
Definition at line 53 of file parallel_do.h.
References tbb::interface9::parallel_do_feeder< Item >::internal_add_move(), and tbb::move().
|
privatepure virtual |
Implemented in tbb::interface9::internal::parallel_do_feeder_impl< Body, Item >.
Referenced by tbb::interface9::parallel_do_feeder< Item >::add().
|
privatepure virtual |
Implemented in tbb::interface9::internal::parallel_do_feeder_impl< Body, Item >.
Referenced by tbb::interface9::parallel_do_feeder< Item >::add().
|
friend |
Definition at line 48 of file parallel_do.h.