| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# IncidentSvc.cpp File Reference

`#include "GaudiKernel/MsgStream.h"`
`#include "GaudiKernel/ISvcLocator.h"`
`#include "GaudiKernel/SmartIF.h"`
`#include "GaudiKernel/IIncidentListener.h"`
`#include "GaudiKernel/Incident.h"`
`#include "GaudiKernel/GaudiException.h"`
`#include "GaudiKernel/LockedChrono.h"`
`#include "GaudiKernel/AppReturnCode.h"`
`#include "IncidentSvc.h"`

Include dependency graph for IncidentSvc.cpp:

Go to the source code of this file.

## Functions
const std::string & | getListenerName (IIncidentListener *lis)
## Variables
static const std::string | s_unknown = "<unknown>"

## Function Documentation

const std::string& @617::getListenerName | ( | IIncidentListener * | lis | ) | `[inline, static]`

Definition at line 35 of file IncidentSvc.cpp.

    00036   {
    00037     SmartIF<INamedInterface> iNamed(lis);
    00038     return iNamed.isValid() ? iNamed->name() : s_unknown ;
    00039   }

## Variable Documentation

const std::string s_unknown = "<unknown>"`[static]`

Definition at line 33 of file IncidentSvc.cpp.