ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IService.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file IService.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017-2019 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 
13 
14 #pragma once
15 
16 #include <string>
17 
19 
20 namespace FW {
21 
22 class WhiteBoard;
23 
32 class IService {
33  public:
34  virtual ~IService() = default;
35 
37  virtual std::string name() const = 0;
38 
42  virtual void startRun() = 0;
43 
51  virtual void prepare(AlgorithmContext& ctx) = 0;
52 };
53 
54 } // namespace FW