Functor on an iteration interval instantiated via a lambda function. More...
#include <arcane/core/ItemFunctor.h>
Public Member Functions | |
| LambdaItemRangeFunctorT (ItemVectorView items_view, const LambdaType &lambda_function, Int32 grain_size=DEFAULT_GRAIN_SIZE) | |
| void | executeFunctor (Int32 begin, Int32 size) override |
| Executes the associated method. | |
| Public Member Functions inherited from Arcane::AbstractItemRangeFunctor | |
| AbstractItemRangeFunctor (ItemVectorView items_view, Int32 grain_size) | |
| Int32 | nbBlock () const |
| Number of blocks. | |
| Int32 | blockGrainSize () const |
| Desired size of an iteration interval. | |
| Public Member Functions inherited from Arcane::IRangeFunctor | |
| virtual | ~IRangeFunctor ()=default |
| Releases resources. | |
Private Attributes | |
| const LambdaType & | m_lambda_function |
Additional Inherited Members | |
| Static Public Attributes inherited from Arcane::AbstractItemRangeFunctor | |
| static const Integer | DEFAULT_GRAIN_SIZE = 400 |
| Protected Member Functions inherited from Arcane::AbstractItemRangeFunctor | |
| ItemVectorView | _view (Int32 begin_block, Int32 nb_block, Int32 *true_begin=nullptr) const |
| Protected Attributes inherited from Arcane::AbstractItemRangeFunctor | |
| ItemVectorView | m_items |
| Int32 | m_block_size = 0 |
| Int32 | m_nb_block = 0 |
| Int32 | m_block_grain_size = 0 |
Functor on an iteration interval instantiated via a lambda function.
This class is used with the C++1x lambda function mechanism.
Definition at line 122 of file ItemFunctor.h.
|
inline |
Definition at line 127 of file ItemFunctor.h.
|
inlineoverridevirtual |
Executes the associated method.
| begin | index of the start of the iteration. |
| size | number of elements to iterate. |
Implements Arcane::IRangeFunctor.
Definition at line 136 of file ItemFunctor.h.
|
private |
Definition at line 152 of file ItemFunctor.h.