| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# IService Class Reference

General service interface definition. More...

`#include <GaudiKernel/IService.h>`

Inheritance diagram for IService:

[legend]
Collaboration diagram for IService:

[legend]

List of all members.

## Public Member Functions
| DeclareInterfaceID (IService, 3, 0)
| InterfaceID.
virtual StatusCode | sysInitialize ()=0
| Initialize Service.
virtual StatusCode | sysStart ()=0
| Start Service.
virtual StatusCode | sysStop ()=0
| Stop Service.
virtual StatusCode | sysFinalize ()=0
| Finalize Service.
virtual StatusCode | sysReinitialize ()=0
| Re-initialize the Service.
virtual StatusCode | sysRestart ()=0
| Re-start the Service.
virtual StatusCode | configure ()=0
| Configuration (from OFFLINE to CONFIGURED).
virtual StatusCode | initialize ()=0
| Initialization (from CONFIGURED to INITIALIZED).
virtual StatusCode | start ()=0
| Start (from INITIALIZED to RUNNING).
virtual StatusCode | stop ()=0
| Stop (from RUNNING to INITIALIZED).
virtual StatusCode | finalize ()=0
| Finalize (from INITIALIZED to CONFIGURED).
virtual StatusCode | terminate ()=0
| Initialization (from CONFIGURED to OFFLINE).
virtual StatusCode | reinitialize ()=0
| Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
virtual StatusCode | restart ()=0
| Initialization (from RUNNING to RUNNING, via INITIALIZED).
virtual Gaudi::StateMachine::State | FSMState () const =0
| Get the current state.
virtual Gaudi::StateMachine::State | targetFSMState () const =0
| When we are in the middle of a transition, get the state where the transition is leading us.
## Protected Member Functions
virtual void | setServiceManager (ISvcManager *)=0
## Friends
class | ServiceManager

## Detailed Description

General service interface definition.

Author:
  Pere Mato

Definition at line 19 of file IService.h.

## Member Function Documentation

IService::DeclareInterfaceID | ( | IService | ,
|  | 3 | ,
|  | 0 |  |
| ) |  |  |

InterfaceID.

virtual StatusCode IService::sysInitialize | ( |  | ) | `[pure virtual]`

Initialize Service.

Implemented in AuditorSvc.

virtual StatusCode IService::sysStart | ( |  | ) | `[pure virtual]`

Start Service.

virtual StatusCode IService::sysStop | ( |  | ) | `[pure virtual]`

Stop Service.

virtual StatusCode IService::sysFinalize | ( |  | ) | `[pure virtual]`

Finalize Service.

Implemented in AuditorSvc.

virtual StatusCode IService::sysReinitialize | ( |  | ) | `[pure virtual]`

Re-initialize the Service.

virtual StatusCode IService::sysRestart | ( |  | ) | `[pure virtual]`

Re-start the Service.

virtual StatusCode IService::configure | ( |  | ) | `[pure virtual]`

Configuration (from OFFLINE to CONFIGURED).

virtual StatusCode IService::initialize | ( |  | ) | `[pure virtual]`

Initialization (from CONFIGURED to INITIALIZED).

Implemented in GslSvc, AuditorSvc, ChronoStatSvc, IssueLogger, ParticlePropertySvc, StatusCodeSvc, and PartPropSvc.

virtual StatusCode IService::start | ( |  | ) | `[pure virtual]`

Start (from INITIALIZED to RUNNING).

virtual StatusCode IService::stop | ( |  | ) | `[pure virtual]`

Stop (from RUNNING to INITIALIZED).

virtual StatusCode IService::finalize | ( |  | ) | `[pure virtual]`

Finalize (from INITIALIZED to CONFIGURED).

Implemented in GslSvc, AuditorSvc, ChronoStatSvc, IssueLogger, ParticlePropertySvc, StatusCodeSvc, and PartPropSvc.

virtual StatusCode IService::terminate | ( |  | ) | `[pure virtual]`

Initialization (from CONFIGURED to OFFLINE).

virtual StatusCode IService::reinitialize | ( |  | ) | `[pure virtual]`

Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).

Implemented in IssueLogger, and StatusCodeSvc.

virtual StatusCode IService::restart | ( |  | ) | `[pure virtual]`

Initialization (from RUNNING to RUNNING, via INITIALIZED).

virtual Gaudi::StateMachine::State IService::FSMState | ( |  | ) | const`[pure virtual]`

Get the current state.

virtual Gaudi::StateMachine::State IService::targetFSMState | ( |  | ) | const`[pure virtual]`

When we are in the middle of a transition, get the state where the transition is leading us.

Otherwise it returns the same state as state().

virtual void IService::setServiceManager | ( | ISvcManager * |  | ) | `[protected, pure virtual]`

## Friends And Related Function Documentation

friend class ServiceManager`[friend]`

Definition at line 20 of file IService.h.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiKernel/GaudiKernel/IService.h