Interface of the variable manager. More...
#include <arcane/core/internal/IVariableMngInternal.h>
Public Member Functions | |
| virtual | ~IVariableMngInternal ()=default |
| Releases resources. | |
| virtual void | build ()=0 |
| Constructs the instance members. | |
| virtual void | initialize ()=0 |
| Initializes the instance. The instance is not usable until this method has been called. | |
| virtual void | removeAllVariables ()=0 |
| Removes and destroys the variables managed by this manager. | |
| virtual void | removeAllShMemVariables ()=0 |
| virtual void | detachMeshVariables (IMesh *mesh)=0 |
| Detaches variables associated with the mesh mesh. | |
| virtual void | addVariableRef (VariableRef *var)=0 |
| Adds a reference to a variable. | |
| virtual void | removeVariableRef (VariableRef *var)=0 |
| Removes a reference to a variable. | |
| virtual void | addVariable (IVariable *var)=0 |
| Adds a variable. | |
| virtual void | removeVariable (IVariable *var)=0 |
| Removes a variable. | |
| virtual void | initializeVariables (bool is_continue)=0 |
| Initializes the variables. | |
| virtual void | addAutoDestroyVariable (VariableRef *var)=0 |
| Adds the variable to the list of variables that are kept until the end of execution. | |
| virtual ISubDomain * | internalSubDomain () const =0 |
| Temporary internal function to retrieve the subdomain. | |
| virtual IAcceleratorMng * | acceleratorMng () const =0 |
| Manager for accelerators. | |
| virtual void | setAcceleratorMng (Ref< IAcceleratorMng > v)=0 |
| Sets the accelerator manager. | |
Interface of the variable manager.
This manager contains the list of variables declared in the associated subdomain subDomain(). It maintains the list of variables and allows them to be read or written.
Definition at line 35 of file IVariableMngInternal.h.
|
pure virtual |
Manager for accelerators.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Adds the variable to the list of variables that are kept until the end of execution.
The variable will be destroyed by calling the operator delete() when calling IVariableMng::removeAllVariables().
Implemented in Arcane::VariableMng::InternalApi.
Referenced by Arcane::VtkMeshIOService::_readData().
|
pure virtual |
Adds a variable.
Adds the variable var.
The variable validity is not checked (void checkVariable()).
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Adds a reference to a variable.
Adds the reference var to the manager.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Constructs the instance members.
The instance is not usable until this method has been called. This method must be called before initialize().
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Detaches variables associated with the mesh mesh.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Initializes the instance. The instance is not usable until this method has been called.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Initializes the variables.
Iterates through the list of variables and initializes them. Only variables from a used module are initialized.
| is_continue | true if resuming. |
Implemented in Arcane::VariableMng::InternalApi.
Referenced by Arcane::CodeService::initCase().
|
pure virtual |
Temporary internal function to retrieve the subdomain.
Implemented in Arcane::VariableMng::InternalApi.
Referenced by Arcane::mesh::DynamicMeshFactoryBase::createMesh(), and Arcane::PolyhedralMeshFactory::createMesh().
|
pure virtual |
Removes and destroys variables having the PInShMem property, managed by this manager.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Removes and destroys the variables managed by this manager.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Removes a variable.
Removes the variable var.
After calling this method, the variable must no longer be used.
Implemented in Arcane::VariableMng::InternalApi.
Referenced by Arcane::Variable::removeVariableRef().
|
pure virtual |
Removes a reference to a variable.
Removes the reference var from the manager.
If var is not referenced by the manager, nothing is done.
Implemented in Arcane::VariableMng::InternalApi.
|
pure virtual |
Sets the accelerator manager.
Implemented in Arcane::VariableMng::InternalApi.