00001 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiKernel/GaudiKernel/IService.h,v 1.1.1.1 2001/04/18 18:14:18 tlindner Exp $ 00002 #ifndef GAUDIKERNEL_ISERVICE_H 00003 #define GAUDIKERNEL_ISERVICE_H 00004 00005 // Include files 00006 #include "GaudiKernel/IInterface.h" 00007 #include <string> 00008 00009 // Declaration of the interface ID. 00010 static const InterfaceID IID_IService(2, 1, 0); 00011 00018 class IService : virtual public IInterface { 00019 public: 00021 virtual const std::string& name() const = 0; 00023 virtual const IID& type() const = 0; 00025 virtual StatusCode initialize() = 0; 00027 virtual StatusCode finalize() = 0; 00029 static const InterfaceID& interfaceID() { return IID_IService; } 00030 }; 00031 00032 #endif // GAUDIKERNEL_ISERVICE_H
1.2.3 written by Dimitri van Heesch,
© 1997-2000