www.mooseframework.org
CommonOutputAction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "Action.h"
14 
15 // Forward declerations
16 class CommonOutputAction;
17 
18 template <>
20 
28 class CommonOutputAction : public Action
29 {
30 public:
35 
36  virtual void act() override;
37 
38 private:
43  void create(std::string object_type);
44 
49  bool hasConsole();
50 
53 };
54 
InputParameters _action_params
Parameters from the action being created (AddOutputAction)
void create(std::string object_type)
Helper method for creating the short-cut actions.
bool hasConsole()
Check if a Console object that outputs to the screen has been defined.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for actions.
Definition: Action.h:35
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
CommonOutputAction(InputParameters params)
Class constructor.
InputParameters validParams< CommonOutputAction >()
Meta-action for creating common output object parameters This action serves two purpose, first it adds common output object parameters.