EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IWriter.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file IWriter.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
12 
13 #pragma once
14 
17 
18 #include <string>
19 
20 namespace ActsExamples {
21 
27 class IWriter {
28  public:
29  virtual ~IWriter() = default;
30 
32  virtual std::string name() const = 0;
33 
35  virtual ProcessCode write(const AlgorithmContext& context) = 0;
36 
38  virtual ProcessCode endRun() = 0;
39 };
40 
41 } // namespace ActsExamples