Manager for the policies of a family of entities. More...
#include <arcane/mesh/ItemFamilyPolicyMng.h>
Public Member Functions | |
| ItemFamilyPolicyMng (ItemFamily *family, IItemFamilyCompactPolicy *compact_policy=nullptr) | |
| IItemFamilyCompactPolicy * | compactPolicy () override |
| Compaction policy. | |
| IItemFamilyExchanger * | createExchanger () override |
| Creates an instance for exchanging entities between subdomains. The returned instance must be destroyed by the delete operator. | |
| IItemFamilySerializer * | createSerializer (bool with_flags) override |
| Creates an instance for entity serialization. The returned instance must be destroyed by the delete operator. | |
| void | addSerializeStep (IItemFamilySerializeStepFactory *factory) override |
| Adds a factory for a serialization step. | |
| void | removeSerializeStep (IItemFamilySerializeStepFactory *factory) override |
| Removes a factory for a serialization step. | |
Protected Member Functions | |
| virtual ItemsExchangeInfo2 * | _createExchanger () |
Private Attributes | |
| ItemFamily * | m_item_family |
| IItemFamilyCompactPolicy * | m_compact_policy |
| UniqueArray< IItemFamilySerializeStepFactory * > | m_serialize_step_factories |
Manager for the policies of a family of entities.
Definition at line 48 of file ItemFamilyPolicyMng.h.
|
inlineexplicit |
Definition at line 53 of file ItemFamilyPolicyMng.h.
|
override |
Definition at line 35 of file ItemFamilyPolicyMng.cc.
|
protectedvirtual |
Definition at line 99 of file ItemFamilyPolicyMng.cc.
|
overridevirtual |
Adds a factory for a serialization step.
factory remains the property of the caller and must not be destroyed as long as this instance exists.
Implements Arcane::IItemFamilyPolicyMng.
Definition at line 70 of file ItemFamilyPolicyMng.cc.
References ARCANE_CHECK_POINTER.
|
inlineoverridevirtual |
Compaction policy.
Implements Arcane::IItemFamilyPolicyMng.
Definition at line 62 of file ItemFamilyPolicyMng.h.
|
overridevirtual |
Creates an instance for exchanging entities between subdomains. The returned instance must be destroyed by the delete operator.
Implements Arcane::IItemFamilyPolicyMng.
Definition at line 44 of file ItemFamilyPolicyMng.cc.
|
overridevirtual |
Creates an instance for entity serialization. The returned instance must be destroyed by the delete operator.
with_flags indicates whether the value of Item::flags() should be serialized. This is not necessarily supported for all families.
Implements Arcane::IItemFamilyPolicyMng.
Reimplemented in Arcane::mesh::NodeFamilyPolicyMng, and Arcane::mesh::ParticleFamilyPolicyMng.
Definition at line 59 of file ItemFamilyPolicyMng.cc.
|
overridevirtual |
Removes a factory for a serialization step.
Implements Arcane::IItemFamilyPolicyMng.
Definition at line 80 of file ItemFamilyPolicyMng.cc.
References ARCANE_CHECK_POINTER.
|
private |
Definition at line 78 of file ItemFamilyPolicyMng.h.
|
private |
Definition at line 77 of file ItemFamilyPolicyMng.h.
|
private |
Definition at line 79 of file ItemFamilyPolicyMng.h.