| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# PoolDbMsgReporter Class Reference

Collaboration diagram for PoolDbMsgReporter:

[legend]
List of all members.

## Detailed Description

Definition at line 37 of file PoolDbCacheSvc.cpp.

## Public Member Functions
| PoolDbMsgReporter (IMessageSvc *s, int l)
| Default constructor.
virtual | ~PoolDbMsgReporter ()
| Destructor.
virtual void | report (int lvl, const std::string &src, const std::string &msg)
| Report a message.
## Protected Attributes
IMessageSvc * | m_svc
| Reference to message reporter.
int | m_lvl

## Constructor & Destructor Documentation

PoolDbMsgReporter::PoolDbMsgReporter | ( | IMessageSvc * | s,
|  | int | l |
| ) |  |  | `[inline]`

Default constructor.

Definition at line 44 of file PoolDbCacheSvc.cpp.

    00044 : coral::MsgReporter(), m_svc(s), m_lvl(l)  {}

virtual PoolDbMsgReporter::~PoolDbMsgReporter | ( |  | ) | `[inline, virtual]`

Destructor.

Definition at line 46 of file PoolDbCacheSvc.cpp.

    00046 { }

## Member Function Documentation

virtual void PoolDbMsgReporter::report | ( | int | lvl,
|  | const std::string & | src,
|  | const std::string & | msg |
| ) |  |  | `[inline, virtual]`

Report a message.

Definition at line 48 of file PoolDbCacheSvc.cpp.

References m_lvl, m_svc, and IMessageSvc::reportMessage().

    00048                                                                            {
    00049     if ( lvl >= m_lvl ) m_svc->reportMessage(src,lvl,msg);
    00050   }

## Member Data Documentation

IMessageSvc* PoolDbMsgReporter::m_svc`[protected]`

Reference to message reporter.

Definition at line 40 of file PoolDbCacheSvc.cpp.

Referenced by report().

int PoolDbMsgReporter::m_lvl`[protected]`

Definition at line 41 of file PoolDbCacheSvc.cpp.

Referenced by report().

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v20r2/GaudiPoolDb/v4r0/src/PoolDbCacheSvc.cpp