QualityControl  1.5.1
O2 Data Quality Control Framework
DatabaseFactory.h
Go to the documentation of this file.
1 // Copyright CERN and copyright holders of ALICE O2. This software is
2 // distributed under the terms of the GNU General Public License v3 (GPL
3 // Version 3), copied verbatim in the file "COPYING".
4 //
5 // See http://alice-o2.web.cern.ch/license for full licensing information.
6 //
7 // In applying this license CERN does not waive the privileges and immunities
8 // granted to it by virtue of its status as an Intergovernmental Organization
9 // or submit itself to any jurisdiction.
10 
15 
16 #ifndef QC_REPOSITORY_DATABASEFACTORY_H
17 #define QC_REPOSITORY_DATABASEFACTORY_H
18 
19 #include <memory>
20 // QC
22 
24 {
25 
28 {
29  public:
35  static std::unique_ptr<DatabaseInterface> create(std::string name);
36 };
37 
38 } // namespace o2::quality_control::repository
39 
40 #endif // QC_REPOSITORY_DATABASEFACTORY_H
Definition: AggregatorRunner.h:59
static std::unique_ptr< DatabaseInterface > create(std::string name)
Create a new instance of a DatabaseInterface. The DatabaseInterface actual class is decided based on ...
Definition: DatabaseFactory.cxx:35
Factory to get a database accessor.
Definition: DatabaseFactory.h:27