| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# IAlgContextSvc Class Reference

An abstract interface for Algorithm Context Service. More...

`#include <IAlgContextSvc.h>`

Inheritance diagram for IAlgContextSvc:

[legend]
Collaboration diagram for IAlgContextSvc:

[legend]

List of all members.

## Public Types
typedef std::vector< IAlgorithm * > | Algorithms
| the actual type of algorithm' stack
## Public Member Functions
| DeclareInterfaceID (IAlgContextSvc, 3, 0)
| InterfaceID.
virtual StatusCode | setCurrentAlg (IAlgorithm *a)=0
| set the currently executing algorithm ("push_back")
virtual StatusCode | unSetCurrentAlg (IAlgorithm *a)=0
| remove the algorithm ("pop_back")
virtual IAlgorithm * | currentAlg () const =0
| accessor to current algorithm:
virtual const Algorithms & | algorithms () const =0
| get the stack of executed algorithms
## Protected Member Functions
virtual | ~IAlgContextSvc ()
| virtual and protected desctructor

## Detailed Description

An abstract interface for Algorithm Context Service.

Author:
  ATLAS Collaboration

  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2007-03-07 (modified)

Definition at line 28 of file IAlgContextSvc.h.

## Member Typedef Documentation

typedef std::vector<IAlgorithm*> IAlgContextSvc::Algorithms

the actual type of algorithm' stack

Definition at line 34 of file IAlgContextSvc.h.

## Constructor & Destructor Documentation

IAlgContextSvc::~IAlgContextSvc | ( |  | ) | `[protected, virtual]`

virtual and protected desctructor

Definition at line 31 of file AlgContext.cpp.

    00031 {}

## Member Function Documentation

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

InterfaceID.

virtual StatusCode IAlgContextSvc::setCurrentAlg | ( | IAlgorithm * | a | ) | `[pure virtual]`

set the currently executing algorithm ("push_back")

virtual StatusCode IAlgContextSvc::unSetCurrentAlg | ( | IAlgorithm * | a | ) | `[pure virtual]`

remove the algorithm ("pop_back")

virtual IAlgorithm* IAlgContextSvc::currentAlg | ( |  | ) | const`[pure virtual]`

accessor to current algorithm:

virtual const Algorithms& IAlgContextSvc::algorithms | ( |  | ) | const`[pure virtual]`

get the stack of executed algorithms

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiKernel/GaudiKernel/IAlgContextSvc.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiKernel/src/Lib/AlgContext.cpp