Go to the documentation of this file.
24 params.
addParam<std::vector<std::string>>(
"register_objects_from",
25 "The names of other applications from which objects "
26 "will be registered from (dynamic registration).");
27 params.
addParam<std::vector<std::string>>(
28 "object_names",
"The names of the objects to register (Default: register all).");
29 params.
addParam<std::string>(
"library_path",
31 "Path to search for dynamic libraries (please "
32 "avoid committing absolute paths in addition to "
33 "MOOSE_LIBRARY_PATH)");
37 "The file name of the library (*.la file) that will be dynamically loaded.");
55 std::vector<std::string> application_names =
56 getParam<std::vector<std::string>>(
"register_objects_from");
57 for (
const auto & app_name : application_names)
63 getParam<std::string>(
"library_path"),
64 getParam<std::string>(
"library_name"));
MooseApp & _app
The MOOSE application this is associated with.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
void dynamicAllRegistration(const std::string &app_name, Factory *factory, ActionFactory *action_factory, Syntax *syntax, std::string library_path, const std::string &library_name)
Thes methods are called to register applications or objects on demand.
DynamicObjectRegistrationAction(InputParameters parameters)
defineLegacyParams(DynamicObjectRegistrationAction)
ActionFactory & _action_factory
Builds Actions.
registerMooseAction("MooseApp", DynamicObjectRegistrationAction, "dynamic_object_registration")
Factory & _factory
The Factory associated with the MooseApp.
void restrictRegisterableObjects(const std::vector< std::string > &names)
Calling this object with a non-empty vector will cause this factory to ignore registrations from any ...
bool isParamValid(const std::string &name) const
static InputParameters validParams()
static InputParameters validParams()
ActionWarehouse & _awh
Reference to ActionWarehouse where we store object build by actions.