11 #ifndef GAUDIKERNEL_IALGMANAGER_H 12 #define GAUDIKERNEL_IALGMANAGER_H 54 bool checkIfExists =
true 57 #if !defined( GAUDI_V22_API ) || defined( G22_NEW_SVCLOCATOR ) 67 virtual bool existsAlgorithm( std::string_view
name 75 const bool createIf =
true ) = 0;
84 #endif // GAUDI_IALGMANAGER_H DeclareInterfaceID(IComponentManager, 1, 0)
InterfaceID.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
The IAlgManager is the interface implemented by the Algorithm Factory in the Application Manager to s...
constexpr static const auto SUCCESS
TYPE * get() const
Get interface pointer.
Helper class to parse a string of format "type/name".
GAUDI_API IAlgorithm * getAlgorithm(const IAlgContextSvc *svc, const AlgSelector &sel)
simple function to get the algorithm from Context Service
General service interface definition.
This class is used for returning status codes from appropriate routines.
The IAlgorithm is the interface implemented by the Algorithm base class.
constexpr static const auto FAILURE
SmartIF< T > algorithm(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)
Returns a smart pointer to the requested interface of a service.
std::string typeName(const std::type_info &typ)