Allows for aliases to be defined via InputParameterWarehouse::addControllableParameterAlias. More...
#include <ControllableItem.h>
Public Member Functions | |
ControllableAlias (const MooseObjectParameterName &name, ControllableItem *) | |
virtual const MooseObjectParameterName & | name () const override |
Return the name of the master parameter. More... | |
virtual std::string | dump (unsigned int indent=0) const override |
Returns a string displaying the parameter name and current value. More... | |
void | connect (ControllableItem *item, bool type_check=true) |
Connects the supplied item with this item to allow for multiple parameters to be changed by one. More... | |
template<typename T > | |
void | set (const T &value, bool type_check=true) |
Set the value(s) of the controlled parameters stored in this class. More... | |
template<typename T > | |
std::vector< T > | get (bool type_check=true) const |
Return a copy of all values for this "item". More... | |
template<typename T > | |
bool | check () const |
Return true if the template argument is valid for ALL items. More... | |
std::string | type () const |
Return the type of the master parameter. More... | |
const std::set< ExecFlagType > & | getExecuteOnFlags () const |
Return the execute flag restrictions, an empty set is un-restricted. More... | |
bool | operator== (const ControllableItem &rhs) const |
Use the master name for comparison operators to allow object to work within a set/map. More... | |
bool | operator!= (const ControllableItem &rhs) const |
bool | operator< (const ControllableItem &rhs) const |
void | resetChanged () |
Methods for ControlOutput::outputChangedControls, these don't have meaning outside of this function. More... | |
bool | isChanged () |
Protected Attributes | |
std::vector< std::pair< MooseObjectParameterName, libMesh::Parameters::Value * > > | _pairs |
List of names for this item. More... | |
bool | _changed = false |
Flag for ControlOutput, allows output objects to keep track of when a parameter is altered. More... | |
std::set< ExecFlagType > | _execute_flags |
Flags to which the control is restricted (if not set it is unrestricted) More... | |
Private Attributes | |
MooseObjectParameterName | _name |
Allows for aliases to be defined via InputParameterWarehouse::addControllableParameterAlias.
Definition at line 190 of file ControllableItem.h.
ControllableAlias::ControllableAlias | ( | const MooseObjectParameterName & | name, |
ControllableItem * | item | ||
) |
Definition at line 78 of file ControllableItem.C.
|
inherited |
Return true if the template argument is valid for ALL items.
Definition at line 175 of file ControllableItem.h.
|
inherited |
Connects the supplied item with this item to allow for multiple parameters to be changed by one.
Definition at line 24 of file ControllableItem.C.
Referenced by ControllableAlias().
|
overridevirtual |
Returns a string displaying the parameter name and current value.
Reimplemented from ControllableItem.
Definition at line 91 of file ControllableItem.C.
|
inherited |
Return a copy of all values for this "item".
Definition at line 153 of file ControllableItem.h.
|
inlineinherited |
Return the execute flag restrictions, an empty set is un-restricted.
Definition at line 108 of file ControllableItem.h.
|
inlineinherited |
Definition at line 102 of file ControllableItem.h.
|
overridevirtual |
Return the name of the master parameter.
Reimplemented from ControllableItem.
Definition at line 85 of file ControllableItem.C.
|
inlineinherited |
Definition at line 77 of file ControllableItem.h.
|
inlineinherited |
Definition at line 78 of file ControllableItem.h.
|
inlineinherited |
Use the master name for comparison operators to allow object to work within a set/map.
Definition at line 76 of file ControllableItem.h.
|
inlineinherited |
Methods for ControlOutput::outputChangedControls, these don't have meaning outside of this function.
Definition at line 101 of file ControllableItem.h.
|
inherited |
Set the value(s) of the controlled parameters stored in this class.
The 'skip_type_check' flag allows this object to work with ControllableParameter that can store values of varying types.
Definition at line 131 of file ControllableItem.h.
|
inherited |
Return the type of the master parameter.
Definition at line 67 of file ControllableItem.C.
Referenced by ControllableItem::connect().
|
protectedinherited |
Flag for ControlOutput, allows output objects to keep track of when a parameter is altered.
Definition at line 123 of file ControllableItem.h.
Referenced by ControllableItem::isChanged(), ControllableItem::resetChanged(), and ControllableItem::set().
|
protectedinherited |
Flags to which the control is restricted (if not set it is unrestricted)
Definition at line 126 of file ControllableItem.h.
Referenced by ControllableItem::getExecuteOnFlags().
|
private |
Definition at line 198 of file ControllableItem.h.
|
protectedinherited |
List of names for this item.
Definition at line 120 of file ControllableItem.h.
Referenced by ControllableItem::check(), ControllableItem::connect(), ControllableItem::ControllableItem(), ControllableItem::dump(), dump(), ControllableItem::get(), ControllableItem::name(), ControllableItem::set(), and ControllableItem::type().