The Gaudi Framework  master (37c0b60a)
Sequence.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #pragma once
12 #include <Gaudi/Algorithm.h>
13 
14 #include <string>
15 #include <vector>
16 
17 namespace Gaudi {
18  class GAUDI_API Sequence : public Algorithm {
19  public:
21 
23  bool isSequence() const override final { return true; }
24 
37  StatusCode createSubAlgorithm( const std::string& type, const std::string& name, Algorithm*& pSubAlg );
38 
40  const std::vector<Algorithm*>* subAlgorithms() const;
41 
43  std::vector<Algorithm*>* subAlgorithms();
44 
48  StatusCode start() override;
49 
55  StatusCode initialize() override;
56 
62  StatusCode reinitialize() override;
63 
68  StatusCode restart() override;
69 
73  StatusCode stop() override;
74 
79  StatusCode finalize() override;
80 
81  void acceptDHVisitor( IDataHandleVisitor* ) const override;
82 
83  private:
85  };
86 } // namespace Gaudi
std::string
STL class.
std::vector
STL class.
IOTest.start
start
Definition: IOTest.py:110
Gaudi::Sequence::isSequence
bool isSequence() const override final
Are we a Sequence?
Definition: Sequence.h:23
Gaudi::Sequence::m_subAlgms
std::vector< Algorithm * > m_subAlgms
Sub algorithms.
Definition: Sequence.h:84
StatusCode
Definition: StatusCode.h:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:90
Algorithm.h
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
IDataHandleVisitor
Definition: IDataHandleHolder.h:46
gaudirun.type
type
Definition: gaudirun.py:160
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.h:101
Gaudi::Sequence
Definition: Sequence.h:18
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81