The Gaudi Framework  master (37c0b60a)
IDataBroker.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #ifndef GAUDIKERNEL_IDATABROKER_H
12 #define GAUDIKERNEL_IDATABROKER_H
13 
14 // Framework includes
15 #include <GaudiKernel/DataObjID.h>
16 #include <GaudiKernel/IInterface.h>
18 
19 // C++ includes
20 #include <string>
21 #include <vector>
22 
23 // Forward class declaration
24 namespace Gaudi {
25  class Algorithm;
26 }
27 
42 struct GAUDI_API IDataBroker : extend_interfaces<IInterface> {
45 
48  algorithmsRequiredFor( const DataObjIDColl& requested, const std::vector<std::string>& stoppers = {} ) const = 0;
49 
54  const std::vector<std::string>& stoppers = {} ) const = 0;
55 };
56 
57 #endif // GAUDIKERNEL_IDATABROKER
std::unordered_set< DataObjID, DataObjID_Hasher >
IDataBroker::algorithmsRequiredFor
virtual std::vector< Gaudi::Algorithm * > algorithmsRequiredFor(const Gaudi::Utils::TypeNameString &alg, const std::vector< std::string > &stoppers={}) const =0
Get the (ordered!) list of algorithms required to succesfully execute (as far as data dependencies go...
std::vector< Gaudi::Algorithm * >
IDataBroker::DeclareInterfaceID
DeclareInterfaceID(IDataBroker, 1, 0)
InterfaceID.
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
DataObjID.h
extend_interfaces
Base class to be used to extend an interface.
Definition: extend_interfaces.h:15
ManySmallAlgs.alg
alg
Definition: ManySmallAlgs.py:81
IDataBroker::algorithmsRequiredFor
virtual std::vector< Gaudi::Algorithm * > algorithmsRequiredFor(const DataObjIDColl &requested, const std::vector< std::string > &stoppers={}) const =0
Get the (ordered!) list of algorithms required to provide a given DataObjIDColl.
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:20
IInterface.h
IDataBroker
Definition: IDataBroker.h:42
TypeNameString.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
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81