Public Member Functions | |
| InternalApi (VariableMng *v) | |
| void | build () override |
| Constructs the instance members. | |
| void | initialize () override |
| Initializes the instance. The instance is not usable until this method has been called. | |
| void | removeAllVariables () override |
| Removes and destroys the variables managed by this manager. | |
| void | removeAllShMemVariables () override |
| void | detachMeshVariables (IMesh *mesh) override |
| Detaches variables associated with the mesh mesh. | |
| void | addVariableRef (VariableRef *var) override |
| Adds a reference to a variable. | |
| void | removeVariableRef (VariableRef *var) override |
| Removes a reference to a variable. | |
| void | addVariable (IVariable *var) override |
| Adds a variable. | |
| void | removeVariable (IVariable *var) override |
| Removes a variable. | |
| void | initializeVariables (bool is_continue) override |
| Initializes the variables. | |
| ISubDomain * | internalSubDomain () const override |
| Temporary internal function to retrieve the subdomain. | |
| IAcceleratorMng * | acceleratorMng () const override |
| Manager for accelerators. | |
| void | setAcceleratorMng (Ref< IAcceleratorMng > v) override |
| Sets the accelerator manager. | |
| void | addAutoDestroyVariable (VariableRef *var) override |
| Adds the variable to the list of variables that are kept until the end of execution. | |
| Public Member Functions inherited from Arcane::IVariableMngInternal | |
| virtual | ~IVariableMngInternal ()=default |
| Releases resources. | |
Private Attributes | |
| VariableMng * | m_variable_mng = nullptr |
Definition at line 118 of file VariableMng.h.
|
inlineexplicit |
Definition at line 123 of file VariableMng.h.
|
inlineoverridevirtual |
Manager for accelerators.
Implements Arcane::IVariableMngInternal.
Definition at line 140 of file VariableMng.h.
|
inlineoverridevirtual |
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().
Implements Arcane::IVariableMngInternal.
Definition at line 142 of file VariableMng.h.
|
inlineoverridevirtual |
Adds a variable.
Adds the variable var.
The variable validity is not checked (void checkVariable()).
Implements Arcane::IVariableMngInternal.
Definition at line 136 of file VariableMng.h.
|
inlineoverridevirtual |
Adds a reference to a variable.
Adds the reference var to the manager.
Implements Arcane::IVariableMngInternal.
Definition at line 134 of file VariableMng.h.
|
inlineoverridevirtual |
Constructs the instance members.
The instance is not usable until this method has been called. This method must be called before initialize().
Implements Arcane::IVariableMngInternal.
Definition at line 129 of file VariableMng.h.
|
inlineoverridevirtual |
Detaches variables associated with the mesh mesh.
Implements Arcane::IVariableMngInternal.
Definition at line 133 of file VariableMng.h.
|
inlineoverridevirtual |
Initializes the instance. The instance is not usable until this method has been called.
Implements Arcane::IVariableMngInternal.
Definition at line 130 of file VariableMng.h.
|
inlineoverridevirtual |
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. |
Implements Arcane::IVariableMngInternal.
Definition at line 138 of file VariableMng.h.
|
inlineoverridevirtual |
Temporary internal function to retrieve the subdomain.
Implements Arcane::IVariableMngInternal.
Definition at line 139 of file VariableMng.h.
|
inlineoverridevirtual |
Removes and destroys variables having the PInShMem property, managed by this manager.
Implements Arcane::IVariableMngInternal.
Definition at line 132 of file VariableMng.h.
|
inlineoverridevirtual |
Removes and destroys the variables managed by this manager.
Implements Arcane::IVariableMngInternal.
Definition at line 131 of file VariableMng.h.
|
inlineoverridevirtual |
Removes a variable.
Removes the variable var.
After calling this method, the variable must no longer be used.
Implements Arcane::IVariableMngInternal.
Definition at line 137 of file VariableMng.h.
|
inlineoverridevirtual |
Removes a reference to a variable.
Removes the reference var from the manager.
If var is not referenced by the manager, nothing is done.
Implements Arcane::IVariableMngInternal.
Definition at line 135 of file VariableMng.h.
|
inlineoverridevirtual |
Sets the accelerator manager.
Implements Arcane::IVariableMngInternal.
Definition at line 141 of file VariableMng.h.
|
private |
Definition at line 146 of file VariableMng.h.