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