| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Types | Public Member Functions | Protected Member Functions

# 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.

    {}

## Member Function Documentation

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

get the stack of executed algorithms

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

accessor to current algorithm:

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")

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines