| The Gaudi Framework v27r1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | List of all members
TBBMessageSvc::MessageWithoutLevel Class Reference

Specialized class to report a message with implicit output level. More...

Inheritance diagram for TBBMessageSvc::MessageWithoutLevel:
[legend]
Collaboration diagram for TBBMessageSvc::MessageWithoutLevel:
[legend]

## Public Member Functions
| MessageWithoutLevel (TBBMessageSvc &svc, Message msg)
virtual void | run ()
| Method to be implemented by the actual task classes. More...
Public Member Functions inherited from TBBMessageSvc::MessageTaskCommon
| MessageTaskCommon (TBBMessageSvc &svc)
Public Member Functions inherited from Gaudi::SerialTaskQueue::WorkItem
virtual | ~WorkItem ()

## Private Attributes
Message | m_msg

## Additional Inherited Members
Protected Attributes inherited from TBBMessageSvc::MessageTaskCommon
TBBMessageSvc & | m_svc
std::thread::id | m_sender

## Detailed Description

Specialized class to report a message with implicit output level.

Definition at line 76 of file TBBMessageSvc.h.

## Constructor & Destructor Documentation

TBBMessageSvc::MessageWithoutLevel::MessageWithoutLevel | ( | TBBMessageSvc & | svc,
|  | Message | msg
| ) |  |
| inline

Definition at line 78 of file TBBMessageSvc.h.

78 :
79 MessageTaskCommon(svc),
80 m_msg(msg) {}
TBBMessageSvc::MessageTaskCommon::MessageTaskCommon
MessageTaskCommon(TBBMessageSvc &svc)
Definition: TBBMessageSvc.h:53
TBBMessageSvc::MessageWithoutLevel::m_msg
Message m_msg
Definition: TBBMessageSvc.h:86

## Member Function Documentation

virtual void TBBMessageSvc::MessageWithoutLevel::run | ( |  | ) |
| inline virtual

Method to be implemented by the actual task classes.

Implements Gaudi::SerialTaskQueue::WorkItem.

Definition at line 81 of file TBBMessageSvc.h.

81 {
82 const int level = m_svc.outputLevel(m_msg.getSource());
83 m_svc.i_reportMessage(m_msg, level);
84 }
MessageSvc::i_reportMessage
virtual void i_reportMessage(const Message &msg, int outputLevel)
Internal implementation of reportMessage(const Message&,int) without lock.
Definition: MessageSvc.cpp:451
TBBMessageSvc::MessageTaskCommon::m_svc
TBBMessageSvc & m_svc
Definition: TBBMessageSvc.h:57
Message::getSource
const std::string & getSource() const
Get the message source.
Definition: Message.cpp:115
gaudirun.level
level
Definition: gaudirun.py:261
MessageSvc::outputLevel
int outputLevel() const override
Definition: MessageSvc.cpp:693
TBBMessageSvc::MessageWithoutLevel::m_msg
Message m_msg
Definition: TBBMessageSvc.h:86

## Member Data Documentation

Message TBBMessageSvc::MessageWithoutLevel::m_msg
| private

Definition at line 86 of file TBBMessageSvc.h.

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

- GaudiCoreSvc/src/MessageSvc/TBBMessageSvc.h