2 #ifndef GAUDIKERNEL_IALGMANAGER_H
3 #define GAUDIKERNEL_IALGMANAGER_H
41 virtual StatusCode createAlgorithm(
const std::string& algtype,
42 const std::string& algname,
46 #if !defined(GAUDI_V22_API) || defined(G22_NEW_SVCLOCATOR)
56 virtual bool existsAlgorithm(
const std::string& name
60 virtual const std::vector<IAlgorithm*>& getAlgorithms()
const = 0;
62 #if !defined(GAUDI_V22_API) || defined(G22_NEW_SVCLOCATOR)
88 return SmartIF<T>(algorithm(typeName, createIf));
94 #endif // GAUDI_IALGMANAGER_H
DeclareInterfaceID(IComponentManager, 1, 0)
InterfaceID.
virtual StatusCode stopAlgorithms()
Stops the list of "managed" algorithms.
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...
virtual StatusCode start()=0
Start (from INITIALIZED to RUNNING).
virtual StatusCode startAlgorithms()
Starts the list of "managed" algorithms.
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
bool isValid() const
Allow for check if smart pointer is valid.
virtual StatusCode stop()=0
Stop (from RUNNING to INITIALIZED).
virtual StatusCode reinitialize()=0
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
virtual StatusCode finalizeAlgorithms()
Finalizes the list of "managed" algorithms.
General service interface definition.
This class is used for returning status codes from appropriate routines.
TYPE * get() const
Get interface pointer.
virtual StatusCode initialize()=0
Initialization (from CONFIGURED to INITIALIZED).
The IAlgorithm is the interface implemented by the Algorithm base class.
virtual StatusCode restart()=0
Initialization (from RUNNING to RUNNING, via INITIALIZED).
virtual StatusCode finalize()=0
Finalize (from INITIALIZED to CONFIGURED).
virtual StatusCode reinitializeAlgorithms()
Initializes the list of "managed" algorithms.
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)
virtual StatusCode restartAlgorithms()
Starts the list of "managed" algorithms.