Functor for iterating over a list of entities. More...
#include <arcane/core/ItemFunctor.h>
Public Member Functions | |
| ItemRangeFunctorT (ItemVectorView items_view, InstanceType *instance, FunctionType function, Integer grain_size=DEFAULT_GRAIN_SIZE) | |
| virtual void | executeFunctor (Int32 begin, Int32 size) |
| 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 Types | |
| typedef void(InstanceType::* | FunctionType) (ItemVectorViewT< ItemType >) |
Private Attributes | |
| InstanceType * | m_instance |
| FunctionType | m_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 for iterating over a list of entities.
Definition at line 79 of file ItemFunctor.h.
|
private |
Definition at line 84 of file ItemFunctor.h.
|
inline |
Definition at line 88 of file ItemFunctor.h.
|
inlinevirtual |
Executes the associated method.
| begin | index of the start of the iteration. |
| size | number of elements to iterate. |
Implements Arcane::IRangeFunctor.
Definition at line 103 of file ItemFunctor.h.
|
private |
Definition at line 99 of file ItemFunctor.h.
|
private |
Definition at line 98 of file ItemFunctor.h.