Go to the documentation of this file.
11 #ifndef GAUDISVC_ALGORITHMMANAGER_H
12 #define GAUDISVC_ALGORITHMMANAGER_H
23 #include <unordered_map>
63 bool checkIfExists =
true )
override;
86 static const std::string _name =
"AlgorithmManager";
108 #endif // GAUDISVC_ALGORITHMFACTORY_H
AlgTypeAliasesMap m_algTypeAliases
bool existsAlgorithm(std::string_view name) const override
implementation of IAlgManager::existsAlgorithm
StatusCode restart() override
Initialization (from RUNNING to RUNNING, via INITIALIZED).
AlgorithmItem(IAlgorithm *s, bool managed=false)
std::map< std::string, std::string, std::less<> > AlgTypeAliasesMap
typedefs and classes
void outputLevelUpdate() override
Function to call to update the outputLevel of the components (after a change in MessageSvc).
StatusCode finalize() override
Finalize (from INITIALIZED to CONFIGURED).
std::vector< IAlgorithm * > m_listOfPtrs
List of pointers to the know services used to implement getAlgorithms()
Helper class to parse a string of format "type/name".
StatusCode createAlgorithm(std::string algtype, std::string algname, IAlgorithm *&algorithm, bool managed=false, bool checkIfExists=true) override
implementation of IAlgManager::createAlgorithm
StatusCode initialize() override
Initialization (from CONFIGURED to INITIALIZED).
StatusCode removeAlgorithm(IAlgorithm *alg) override
implementation of IAlgManager::removeAlgorithm
StatusCode start() override
Start (from INITIALIZED to RUNNING).
Base class used to extend a class implementing other interfaces.
std::vector< AlgorithmItem > m_algs
algorithms maintained by AlgorithmManager
const std::string & name() const override
Return the name of the manager (implementation of INamedInterface)
SmartIF< IAlgorithm > & algorithm(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true) override
StatusCode addAlgorithm(IAlgorithm *alg) override
implementation of IAlgManager::addAlgorithm
std::unordered_multimap< std::string_view, SmartIF< IAlgorithm > > m_algsMap
algorithms maintained by AlgorithmManager
std::string typeName(const std::type_info &typ)
bool operator==(const IAlgorithm *ptr) const
AlgorithmManager(IInterface *iface)
default creator
const AlgTypeAliasesMap & typeAliases() const
AlgTypeAliasesMap & typeAliases()
StatusCode reinitialize() override
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
const std::vector< IAlgorithm * > & getAlgorithms() const override
implementation of IAlgManager::getAlgorithms
StatusCode stop() override
Stop (from RUNNING to INITIALIZED).