ATLAS Offline Software
Loading...
Searching...
No Matches
AsgMessaging.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ASGMESSAGING_ASGMESSAGING_H
6#define ASGMESSAGING_ASGMESSAGING_H
7
8// System include(s):
9#include <string>
10
11// Local include(s):
14
15// Gaudi/Athena include(s):
16#ifndef XAOD_STANDALONE
18#endif // not XAOD_STANDALONE
19
20class INamedInterface;
21
22namespace asg {
23
37#ifndef XAOD_STANDALONE
38 : public ::AthMessaging
39#endif // not XAOD_STANDALONE
40 {
41 public:
43 AsgMessaging( const std::string& name );
45 AsgMessaging( const INamedInterface* tool );
46
49
56 bool msgLvl( const MSG::Level lvl ) const;
57
62 MsgStream& msg() const;
63
69 MsgStream& msg( const MSG::Level lvl ) const;
70
72
73#ifdef XAOD_STANDALONE
74 private:
75 mutable MsgStream m_msg;
76#endif // XAOD_STANDALONE
77
78 }; // class AsgMessaging
79
80} // namespace asg
81
82#endif // ASGMESSAGING_ASGMESSAGING_H
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
MsgStream & msg() const
The standard message stream.
AsgMessaging(const std::string &name)
Constructor with a name.
bool msgLvl(const MSG::Level lvl) const
Test the output level of the object.