Warning, file /include/GaudiKernel/IService.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef GAUDIKERNEL_ISERVICE_H
0012 #define GAUDIKERNEL_ISERVICE_H
0013
0014
0015 #include <GaudiKernel/INamedInterface.h>
0016 #include <GaudiKernel/IStateful.h>
0017 #include <string>
0018
0019
0020
0021
0022
0023
0024
0025 class ISvcManager;
0026 class ServiceManager;
0027
0028 class GAUDI_API IService : virtual public extend_interfaces<INamedInterface, IStateful> {
0029 friend class ServiceManager;
0030
0031 public:
0032
0033 DeclareInterfaceID( IService, 4, 0 );
0034
0035
0036 virtual StatusCode sysInitialize() = 0;
0037
0038 virtual StatusCode sysStart() = 0;
0039
0040 virtual StatusCode sysStop() = 0;
0041
0042 virtual StatusCode sysFinalize() = 0;
0043
0044 virtual StatusCode sysReinitialize() = 0;
0045
0046 virtual StatusCode sysRestart() = 0;
0047
0048 protected:
0049 virtual void setServiceManager( ISvcManager* ) = 0;
0050 };
0051
0052 #endif