| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# 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 "IncidentSvc.h"`

Include dependency graph for IncidentSvc.cpp:

Go to the source code of this file.

## Functions
std::string | getListenerName (IIncidentListener *lis)

## Function Documentation

std::string @589::getListenerName | ( | IIncidentListener * | lis | ) | `[static]`

Definition at line 18 of file IncidentSvc.cpp.

    00019   {
    00020     SmartIF<INamedInterface> iNamed(lis);
    00021     if (iNamed.isValid()) return iNamed->name();
    00022     else return "<unknown>";
    00023   }