www.mooseframework.org
CommonOutputAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef COMMONOUTPUTACTION_H
16 #define COMMONOUTPUTACTION_H
17 
18 // MOOSE includes
19 #include "Action.h"
20 
21 // Forward declerations
22 class CommonOutputAction;
23 
24 template <>
26 
34 class CommonOutputAction : public Action
35 {
36 public:
41 
42  virtual void act() override;
43 
44 private:
49  void create(std::string object_type);
50 
55  bool hasConsole();
56 
59 };
60 
61 #endif // COMMONOUTPUTACTION_H
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:39
virtual void act() override
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.