Classes | |
| struct | FuncTraits |
Public Member Functions | |
| virtual | ~IItemGroupObserver ()=default |
| Destructor. | |
| virtual void | executeExtend (const Int32ConstArrayView *info)=0 |
| Execute the action associated with the extension. | |
| virtual void | executeReduce (const Int32ConstArrayView *info)=0 |
| Execute the action associated with the extension. | |
| virtual void | executeCompact (const Int32ConstArrayView *info)=0 |
| Executes the action associated with compaction. | |
| virtual void | executeInvalidate ()=0 |
| Execute the action associated with invalidation. | |
| virtual bool | needInfo () const =0 |
| Indicates whether the observer will need transition information. | |
Definition at line 28 of file core/ItemGroupObserver.h.
|
pure virtual |
Executes the action associated with compaction.
| info | list of permutations in the old->new direction Assumes there is no change in size. |
Implemented in Arcane::ItemGroupObserverWithInfoT< T >, Arcane::ItemGroupObserverWithoutInfoT< T >, Arcane::ItemGroupPartialVariableObserver, and Arcane::Materials::MeshEnvironmentObserver.
|
pure virtual |
Execute the action associated with the extension.
| info | list of added localIds Assumes there is no change in order or renumbering. |
This method cannot be parallel.
Implemented in Arcane::ItemGroupObserverWithInfoT< T >, Arcane::ItemGroupObserverWithoutInfoT< T >, Arcane::ItemGroupPartialVariableObserver, and Arcane::Materials::MeshEnvironmentObserver.
|
pure virtual |
Execute the action associated with invalidation.
No transition information available.
Implemented in Arcane::ItemGroupObserverWithInfoT< T >, Arcane::ItemGroupObserverWithoutInfoT< T >, Arcane::ItemGroupPartialVariableObserver, and Arcane::Materials::MeshEnvironmentObserver.
|
pure virtual |
Execute the action associated with the extension.
| info | list of positions removed in the old group Assumes there is no change in order or renumbering This approach compared to the list of localIds is motivated by the constraint in PartialVariable which is unaware of the localIds it hosts. |
| info2 | list of localIds of deleted elements. Potentially redundant with info, but inevitable for certain structures changing the order relative to the reference group (e.g.: ItemGroupDynamicMeshObserver) (DEPRECATED) |
This method cannot be parallel.
Implemented in Arcane::ItemGroupObserverWithInfoT< T >, Arcane::ItemGroupObserverWithoutInfoT< T >, Arcane::ItemGroupPartialVariableObserver, and Arcane::Materials::MeshEnvironmentObserver.
|
pure virtual |
Indicates whether the observer will need transition information.
This information must not change after the first call to this function
Implemented in Arcane::ItemGroupObserverWithInfoT< T >, Arcane::ItemGroupObserverWithoutInfoT< T >, Arcane::ItemGroupPartialVariableObserver, and Arcane::Materials::MeshEnvironmentObserver.
Referenced by Arcane::ItemGroupImpl::attachObserver(), and Arcane::ItemGroupImpl::detachObserver().