| The Gaudi Framework v32r1 (f65d50dc)

Sequence.h
Go to the documentation of this file.
1 #pragma once
2 #include <Gaudi/Algorithm.h>
3
4 #include <string>
5 #include <vector>
6
7 namespace Gaudi {
8 class GAUDI_API Sequence : public Algorithm {
9 public:
10 using Algorithm::Algorithm;
11
13 bool isSequence() const override final { return true; }
14
27 StatusCode createSubAlgorithm( const std::string& type, const std::string& name, Algorithm*& pSubAlg );
28
30 const std::vector<Algorithm*>* subAlgorithms() const;
31
33 std::vector<Algorithm*>* subAlgorithms();
34
38 StatusCode start() override;
39
45 StatusCode initialize() override;
46
52 StatusCode reinitialize() override;
53
58 StatusCode restart() override;
59
63 StatusCode stop() override;
64
69 StatusCode finalize() override;
70
76 StatusCode beginRun() override;
77
83 StatusCode endRun() override;
84
85 void acceptDHVisitor( IDataHandleVisitor* ) const override;
86
87 private:
88 std::vector<Algorithm*> m_subAlgms;
89 };
90 } // namespace Gaudi
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:41
Gaudi::Algorithm::Algorithm
Algorithm(const std::string &name, ISvcLocator *svcloc, const std::string &version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.cpp:48
Gaudi::Sequence::isSequence
bool isSequence() const override final
Are we a Sequence?
Definition: Sequence.h:13
IOTest.start
def start
Definition: IOTest.py:97
std::string
STL class.
Gaudi::Sequence::m_subAlgms
std::vector< Algorithm * > m_subAlgms
Sub algorithms.
Definition: Sequence.h:88
Algorithm.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
gaudirun.type
type
Definition: gaudirun.py:142
IDataHandleVisitor
Definition: IDataHandleHolder.h:35
std::vector
STL class.
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:79
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1
Gaudi::Sequence
Definition: Sequence.h:8