| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 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 "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& @608::getListenerName | ( | IIncidentListener * | lis | ) | `[inline, static]`

Definition at line 34 of file IncidentSvc.cpp.

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

## Variable Documentation

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

Definition at line 32 of file IncidentSvc.cpp.