2 #ifndef GAUDIKERNEL_IALGMANAGER_H
3 #define GAUDIKERNEL_IALGMANAGER_H
6 #include "GaudiKernel/IComponentManager.h"
7 #include "GaudiKernel/SmartIF.h"
8 #include "GaudiKernel/TypeNameString.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.
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...
GAUDI_API IAlgorithm * getAlgorithm(const IAlgContextSvc *svc, const AlgSelector &sel)
simple function to get the algorithm from Context Service
virtual StatusCode start()=0
Start (from INITIALIZED to RUNNING).
TYPE * get() const
Get interface pointer.
Helper class to parse a string of format "type/name".
virtual StatusCode stop()=0
Stop (from RUNNING to INITIALIZED).
virtual StatusCode reinitialize()=0
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
General service interface definition.
This class is used for returning status codes from appropriate routines.
virtual StatusCode initialize()=0
Initialization (from CONFIGURED to INITIALIZED).
The IAlgorithm is the interface implemented by the Algorithm base class.
bool isValid() const
Allow for check if smart pointer is valid.
virtual StatusCode restart()=0
Initialization (from RUNNING to RUNNING, via INITIALIZED).
virtual StatusCode finalize()=0
Finalize (from INITIALIZED to CONFIGURED).
std::string typeName(const std::type_info &typ)