ATLAS Offline Software
Loading...
Searching...
No Matches
AthAlgStartVisitor.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4*/
5/*
6 */
7// $Id$
14
15
16#ifndef ATHENABASECOMPS_ATHALGSTARTVISITOR_H
17#define ATHENABASECOMPS_ATHALGSTARTVISITOR_H
18
19
20#include "GaudiKernel/IDataHandleHolder.h"
21#include <unordered_set>
22
23
40 : public IDataHandleVisitor
41{
42public:
47 virtual void visit (const IDataHandleHolder* holder) override;
48
49 AthAlgStartVisitor() = default;
50 AthAlgStartVisitor(INamedInterface*);
51
52private:
54 std::unordered_set<const IDataHandleHolder*> m_seen;
55 bool m_recursive {true};
56 bool m_ignore {false};
57};
58
59
60#endif // not ATHENABASECOMPS_ATHALGSTARTVISITOR_H
virtual void visit(const IDataHandleHolder *holder) override
Visit a component and start() any read conditions handles.
AthAlgStartVisitor()=default
std::unordered_set< const IDataHandleHolder * > m_seen
figure out where we're called from
bool m_ignore
process recursively (for Algs)