1 #ifndef GAUDIKERNEL_IALGMANAGER_H 2 #define GAUDIKERNEL_IALGMANAGER_H 46 bool checkIfExists =
true 48 #if !defined( GAUDI_V22_API ) || defined( G22_NEW_SVCLOCATOR ) 59 virtual bool existsAlgorithm(
const std::string& name
67 const bool createIf =
true ) = 0;
73 return SmartIF<T>( algorithm( typeName, createIf ) );
77 #endif // GAUDI_IALGMANAGER_H constexpr static const auto FAILURE
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...
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 SUCCESS
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)