#include <GaudiKernel/IAlgManager.h>
Inheritance diagram for IAlgManager:

Public Types | |
| typedef IAlgorithm* (* | AlgCreator )(const std::string& algname, ISvcLocator* svcloc) |
Public Methods | |
| virtual StatusCode | addAlgorithm ( IAlgorithm* alg ) = 0 |
| Add an algorithm to the list of known algorithms. | |
| virtual StatusCode | removeAlgorithm ( IAlgorithm* alg ) = 0 |
| Remove an algorithm from the list of known algorithms. | |
| virtual StatusCode | declareAlgCreator ( AlgCreator creator, const std::string& algtype ) = 0 |
| Declare an algorithm static creator method to be use when creating instances of a given algorithm type. | |
| virtual StatusCode | declareAlgModule ( const std::string& module, const std::string& algtype ) = 0 |
| Declare a shareable library to be used for creating instances of a given algorithm type. | |
| virtual StatusCode | declareAlgFactory ( const IAlgFactory& factory, const std::string& algtype ) = 0 |
| Declare an abastract algorithm factory to be used to create instances of a given algorithm type. | |
| virtual StatusCode | createAlgorithm ( const std::string& algtype, const std::string& algname, IAlgorithm*& alg ) = 0 |
| Create an instance of a algorithm type that has been declared beforehand and assigns to it a name. It returns a pointer to an IAlgorithm. | |
| virtual StatusCode | getAlgorithm ( const std::string& name, IAlgorithm*& alg ) const = 0 |
| Find an algorithm with given name in the list of known algorithms. | |
| virtual bool | existsAlgorithm ( const std::string& name ) const = 0 |
| Check the existance of an algorithm with a given name in the list of known algorithms. | |
| virtual std::list<IAlgorithm*>& | getAlgorithms ( ) const = 0 |
| Return the list of Algorithms. | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
Clients use this interface to declare abstract algorithm factories, and to create concrete instances of algorithms. There are currently 3 methods for the declaration: static creator method (creator). an abstract factory (factory) or a shareable library (module).
Definition at line 30 of file IAlgManager.h.
|
|
|
|
|
Add an algorithm to the list of known algorithms.
|
|
|
Create an instance of a algorithm type that has been declared beforehand and assigns to it a name. It returns a pointer to an IAlgorithm.
|
|
|
Declare an algorithm static creator method to be use when creating instances of a given algorithm type.
|
|
|
Declare an abastract algorithm factory to be used to create instances of a given algorithm type.
|
|
|
Declare a shareable library to be used for creating instances of a given algorithm type.
|
|
|
Check the existance of an algorithm with a given name in the list of known algorithms.
|
|
|
Find an algorithm with given name in the list of known algorithms.
|
|
|
Return the list of Algorithms.
|
|
|
Retrieve interface ID.
Reimplemented from IInterface. Definition at line 33 of file IAlgManager.h. |
|
|
Remove an algorithm from the list of known algorithms.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000