GEOSX
TasksManager.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2019 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2019 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2019 Total, S.A
8  * Copyright (c) 2019- GEOSX Contributors
9  * All right reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef SRC_COMPONENTS_CORE_SRC_TASKSMANAGER_TASKSMANAGER_HPP_
20 #define SRC_COMPONENTS_CORE_SRC_TASKSMANAGER_TASKSMANAGER_HPP_
21 
22 #include "dataRepository/Group.hpp"
23 #include "TaskBase.hpp"
24 
25 namespace geosx
26 {
27 
33 {
34 public:
36  TasksManager( std::string const & name, Group * const parent );
38  virtual ~TasksManager() override;
39 
41  virtual Group * CreateChild( string const & childKey, string const & childName ) override;
42 
44  virtual void ExpandObjectCatalogs() override;
45 
46 private:
47  TasksManager() = delete;
48 
49 };
50 
51 } /* namespace geosx */
52 
53 #endif
virtual Group * CreateChild(string const &childKey, string const &childName) override
Creates a new sub-Group using the ObjectCatalog functionality.
virtual ~TasksManager() override
Destructor.
virtual void ExpandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
A class to manage and execute tasks.
std::string string
String type.
Definition: DataTypes.hpp:131