22 moose_object->parameters().isParamValid(
"_tid")
29 const std::string & system_name,
31 :
Restartable(moose_object->getMooseApp(), moose_object->
name(), system_name, tid)
36 const std::string & name,
37 const std::string & system_name,
41 : _restartable_app(moose_app),
42 _restartable_system_name(system_name),
43 _restartable_tid(tid),
44 _restartable_read_only(read_only),
46 _restartable_name(
name)
std::string name(const ElemQuality q)
A class for creating restricted objects.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
void registerRestartableNameWithFilter(const std::string &name, Moose::RESTARTABLE_FILTER filter)
NOTE: This is an internal function meant for MOOSE use only!
std::string restartableName(const std::string &data_name) const
Gets the name of a piece of restartable data given a data name, adding the system name and object nam...
Base class for MOOSE-based applications.
std::string _restartable_name
The name of the object.
const std::string _restartable_system_name
The system name this object is in.
RESTARTABLE_FILTER
The filter type applied to a particular piece of "restartable" data.
Every object that can be built by the factory should be derived from this class.
RestartableDataValue & registerRestartableData(std::unique_ptr< RestartableDataValue > data, THREAD_ID tid, bool read_only, const RestartableDataMapName &metaname="")
Restartable(const MooseObject *moose_object, const std::string &system_name)
Class constructor.
std::string RestartableDataMapName
void registerRestartableNameWithFilterOnApp(const std::string &name, Moose::RESTARTABLE_FILTER filter)
Helper function for actually registering the restartable data.
const bool _restartable_read_only
Flag for toggling read only status (see ReporterData)
const RestartableDataMapName _metaname
Restartable metadata name.
MooseApp & _restartable_app
Reference to the application.
Abstract definition of a RestartableData value.
RestartableDataValue & registerRestartableDataOnApp(std::unique_ptr< RestartableDataValue > data, THREAD_ID tid) const
Helper function for actually registering the restartable data.