Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 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 "MooseBase.h" 14 : #include "DataFileInterface.h" 15 : 16 : #include "libmesh/parallel_object.h" 17 : 18 : class Factory; 19 : class ActionFactory; 20 : 21 : /** 22 : * Base class shared by both Action and MooseObject. 23 : */ 24 : class ParallelParamObject : public MooseBase, 25 : public libMesh::ParallelObject, 26 : public DataFileInterface 27 : { 28 : public: 29 : static InputParameters validParams(); 30 : 31 : ParallelParamObject(const InputParameters & params); 32 : 33 5396740 : virtual ~ParallelParamObject() = default; 34 : 35 : protected: 36 : /// The Factory associated with the MooseApp 37 : Factory & _factory; 38 : 39 : /// Builds Actions 40 : ActionFactory & _action_factory; 41 : };