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

Public Types | |
| typedef IService* (* | SvcCreator )(const std::string& svcname, ISvcLocator* svcloc) |
| Typedefs. | |
Public Methods | |
| virtual StatusCode | addService ( IService* svc ) = 0 |
| Add a service to the list of known services of the factory. More... | |
| virtual StatusCode | removeService ( IService* svc ) = 0 |
| Remove a service from the list of known services of the factory. More... | |
| virtual StatusCode | declareSvcCreator ( SvcCreator creator, const std::string& svctype ) = 0 |
| Declare a static creation function for a given service type. More... | |
| virtual StatusCode | declareSvcModule ( const std::string& module, const std::string& svctype ) = 0 |
| Declare a module name (shareable library) that implemennents the creation function for a given service type. More... | |
| virtual StatusCode | declareSvcFactory ( const ISvcFactory& factory, const std::string& svctype ) = 0 |
| Declare an abstract factory for a given service type. More... | |
| virtual StatusCode | createService ( const std::string& svctype, const std::string& svcname, IService*& svc ) = 0 |
| Creates and instance of a service type that has been declared beforehand and assigns it a name. More... | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
Clients use this interface to declare abstract service factories, and to create concrete instances of services. There are currently 3 methods for the declaration: static creator method (creator). an abstract factory (factory) or a shareable library (module).
Definition at line 28 of file ISvcManager.h.
|
|
Typedefs.
|
|
|
Add a service to the list of known services of the factory.
|
|
|
Creates and instance of a service type that has been declared beforehand and assigns it a name. It returns a pointer to an IService. |
|
|
Declare a static creation function for a given service type.
|
|
|
Declare an abstract factory for a given service type.
|
|
|
Declare a module name (shareable library) that implemennents the creation function for a given service type.
|
|
|
Retrieve interface ID.
Reimplemented from IInterface. Definition at line 34 of file ISvcManager.h. |
|
|
Remove a service from the list of known services of the factory.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000