48 const std::string& algname,
51 bool checkIfExists =
true
62 const bool createIf =
true ) = 0;
Helper class to parse a string of format "type/name".
The IAlgManager is the interface implemented by the Algorithm Factory in the Application Manager to s...
virtual StatusCode removeAlgorithm(IAlgorithm *alg)=0
Remove an algorithm from the list of known algorithms.
SmartIF< T > algorithm(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)
Returns a smart pointer to the requested interface of a service.
DeclareInterfaceID(IAlgManager, 6, 0)
InterfaceID.
virtual bool existsAlgorithm(std::string_view name) const =0
Check the existence of an algorithm with a given name in the list of known algorithms.
virtual std::vector< IAlgorithm * > getAlgorithms() const =0
Return the list of Algorithms.
virtual StatusCode createAlgorithm(const std::string &algtype, const std::string &algname, IAlgorithm *&alg, bool managed=false, bool checkIfExists=true)=0
Create an instance of a algorithm type that has been declared beforehand and assigns to it a name.
virtual SmartIF< IAlgorithm > & algorithm(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)=0
Returns a smart pointer to a service.
virtual StatusCode addAlgorithm(IAlgorithm *alg)=0
Add an algorithm to the list of known algorithms.
The IAlgorithm is the interface implemented by the Algorithm base class.
General service interface definition.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.