1 #ifndef GAUDISVC_ALGORITHMMANAGER_H 2 #define GAUDISVC_ALGORITHMMANAGER_H 54 bool managed =
false,
bool checkIfExists =
true )
override;
78 static const std::string _name =
"AlgorithmManager";
98 #endif // GAUDISVC_ALGORITHMFACTORY_H The AlgorithmManager class is in charge of the creation of concrete instances of Algorithms.
void outputLevelUpdate() override
Function to call to update the outputLevel of the components (after a change in MessageSvc).
StatusCode initialize() override
Initialization (from CONFIGURED to INITIALIZED).
AlgorithmItem(IAlgorithm *s, bool managed=false)
StatusCode addAlgorithm(IAlgorithm *alg) override
implementation of IAlgManager::addAlgorithm
StatusCode start() override
Start (from INITIALIZED to RUNNING).
const AlgTypeAliasesMap & typeAliases() const
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
Return the name of the manager (implementation of INamedInterface)
const std::vector< IAlgorithm * > & getAlgorithms() const override
implementation of IAlgManager::getAlgorithms
AlgTypeAliasesMap m_algTypeAliases
std::vector< AlgorithmItem > m_algs
algorithms maintained by AlgorithmManager
std::vector< IAlgorithm * > m_listOfPtrs
List of pointers to the know services used to implement getAlgorithms()
StatusCode reinitialize() override
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
AlgTypeAliasesMap & typeAliases()
StatusCode stop() override
Stop (from RUNNING to INITIALIZED).
StatusCode finalize() override
Finalize (from INITIALIZED to CONFIGURED).
TYPE * get() const
Get interface pointer.
Helper class to parse a string of format "type/name".
bool existsAlgorithm(const std::string &name) const override
implementation of IAlgManager::existsAlgorithm
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
StatusCode removeAlgorithm(IAlgorithm *alg) override
implementation of IAlgManager::removeAlgorithm
The IMessage is the interface implemented by the message service.
The IAlgorithm is the interface implemented by the Algorithm base class.
std::map< std::string, std::string > AlgTypeAliasesMap
typedefs and classes
Base class used to extend a class implementing other interfaces.
bool operator==(const std::string &name) const
AlgorithmManager(IInterface *iface)
default creator
std::string typeName(const std::type_info &typ)
bool operator==(const IAlgorithm *ptr) const
StatusCode createAlgorithm(const std::string &algtype, const std::string &algname, IAlgorithm *&algorithm, bool managed=false, bool checkIfExists=true) override
implementation of IAlgManager::createAlgorithm
SmartIF< IAlgorithm > algorithm
StatusCode restart() override
Initialization (from RUNNING to RUNNING, via INITIALIZED).