42 virtual std::string
type() = 0;
120 virtual std::string
type()
override;
135 return MooseUtils::prettyCppType<T>();
Abstract definition of a ChainControlData value.
bool _declared
true if the data was declared by calling declareControlData. All data must be declared up front.
ChainControl * _chain_control
The control object that declared this control data.
virtual ~ChainControlDataBase()=default
const std::string & name() const
The full (unique) name of this particular piece of data.
ChainControlDataBase(MooseApp &moose_app, const std::string &name)
Constructor.
virtual void copyValuesBack()=0
Copy the current value into the old value.
bool getDeclared()
Get the declared state.
const ChainControl & getChainControl() const
Get the pointer to the control object that declared this control data.
void setChainControl(ChainControl &ctrl)
Set the pointer to the control object that declared this control data.
const std::string _name
The full (unique) name of this particular piece of data.
void setDeclared()
Mark the data as declared.
virtual std::string type()=0
String identifying the type of parameter stored.
Concrete definition of a parameter value for a specified type.
ChainControlData(MooseApp &moose_app, std::string name)
Constructor.
virtual void copyValuesBack() override
Copy the current value into the old value.
virtual std::string type() override
String identifying the type of parameter stored.
Control that additionally provides the capability to produce/consume data values, to allow control op...
Base class for MOOSE-based applications.
A class for creating restricted objects.
T & declareRestartableData(const std::string &data_name, Args &&... args)
Declare a piece of data as "restartable" and initialize it.