The Gaudi Framework  master (37c0b60a)
HiveTestAlgorithm.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 2012-2023 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, 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 \***********************************************************************************/
11 #include <Gaudi/Property.h>
12 #include <GaudiKernel/Algorithm.h>
14 
16 public:
21 
22  /*****************************
23  ** Public Function Members **
24  *****************************/
25 
26  StatusCode initialize() override;
27  StatusCode execute() override;
28  StatusCode finalize() override;
29 
30  // BH: concurrency additions
31  virtual const std::vector<std::string> get_inputs();
32  virtual const std::vector<std::string> get_outputs();
33 
34 private:
35  /**************************
36  ** Private Data Members **
37  **************************/
38 
42  int m_total = 0;
43 
44  Gaudi::Property<std::vector<std::string>> m_inputs{ this, "Input", {}, "List of required inputs" };
45  Gaudi::Property<std::vector<std::string>> m_outputs{ this, "Output", {}, "List of provided outputs" };
46 
49 };
Algorithm::execute
StatusCode execute() override=0
std::vector< std::string >
Gaudi::Algorithm::initialize
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Definition: Algorithm.h:178
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
Algorithm.h
StatusCode
Definition: StatusCode.h:65
HiveTestAlgorithm::m_outputHandles
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_outputHandles
Definition: HiveTestAlgorithm.h:48
HiveTestAlgorithm::m_inputHandles
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputHandles
Definition: HiveTestAlgorithm.h:47
Gaudi::Algorithm::finalize
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
Definition: Algorithm.h:184
HiveTestAlgorithm
Definition: HiveTestAlgorithm.h:15
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.h:101
DataObjectHandle.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:37
Property.h