The Gaudi Framework
master (82fdf313)
Loading...
Searching...
No Matches
IService.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/INamedInterface.h
>
14
#include <
GaudiKernel/IStateful.h
>
15
#include <string>
16
23
class
ISvcManager
;
24
class
ServiceManager
;
25
26
class
GAUDI_API
IService
:
virtual
public
extend_interfaces
<INamedInterface, IStateful> {
27
friend
class
ServiceManager
;
28
29
public
:
31
DeclareInterfaceID
(
IService
, 4, 0 );
32
34
virtual
StatusCode
sysInitialize
() = 0;
36
virtual
StatusCode
sysStart
() = 0;
38
virtual
StatusCode
sysStop
() = 0;
40
virtual
StatusCode
sysFinalize
() = 0;
42
virtual
StatusCode
sysReinitialize
() = 0;
44
virtual
StatusCode
sysRestart
() = 0;
45
46
protected
:
47
virtual
void
setServiceManager
(
ISvcManager
* ) = 0;
48
};
INamedInterface.h
IStateful.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
IService
General service interface definition.
Definition
IService.h:26
IService::sysFinalize
virtual StatusCode sysFinalize()=0
Finalize Service.
IService::sysStart
virtual StatusCode sysStart()=0
Start Service.
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
IService::sysRestart
virtual StatusCode sysRestart()=0
Re-start the Service.
IService::sysStop
virtual StatusCode sysStop()=0
Stop Service.
IService::sysReinitialize
virtual StatusCode sysReinitialize()=0
Re-initialize the Service.
IService::sysInitialize
virtual StatusCode sysInitialize()=0
Initialize Service.
IService::setServiceManager
virtual void setServiceManager(ISvcManager *)=0
IService::ServiceManager
friend class ServiceManager
Definition
IService.h:27
ISvcManager
The ISvcManager is the interface implemented by the Service Factory in the Application Manager to sup...
Definition
ISvcManager.h:30
ServiceManager
The ServiceManager class is in charge of the creation of concrete instances of Services.
Definition
ServiceManager.h:40
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
extend_interfaces
Base class to be used to extend an interface.
Definition
extend_interfaces.h:23
GaudiKernel
include
GaudiKernel
IService.h
Generated on Thu Oct 2 2025 15:31:11 for The Gaudi Framework by
1.13.1