Wrapper class for restartable data that is "managed. More...
#include <Restartable.h>
Public Member Functions | |
ManagedValue (RestartableData< T > &value) | |
~ManagedValue () | |
Destructor. More... | |
const T & | get () const |
Get the restartable value. More... | |
T & | set () |
Private Attributes | |
RestartableData< T > & | _value |
The underlying data. More... | |
Wrapper class for restartable data that is "managed.
'
Managed here means that the destruction of the data is managed by the reciever and not the app.
When this wrapper is destructed, the underlying restartable data is also destructed. This allows for proper construction ordered destruction.
Definition at line 42 of file Restartable.h.
|
inline |
Definition at line 45 of file Restartable.h.
|
inline |
Destructor.
Destructs the managed restartable data.
Definition at line 52 of file Restartable.h.
|
inline |
Get the restartable value.
Definition at line 58 of file Restartable.h.
|
inline |
Definition at line 59 of file Restartable.h.
Referenced by FEProblemBase::es(), and FEProblemBase::initialSetup().
|
private |
The underlying data.
Definition at line 64 of file Restartable.h.
Referenced by Restartable::ManagedValue< RestartableEquationSystems >::set(), and Restartable::ManagedValue< RestartableEquationSystems >::~ManagedValue().