ATLAS Offline Software
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):
12 #include "AsgMessaging/MsgStream.h"
14 
15 // Gaudi/Athena include(s):
16 #ifndef XAOD_STANDALONE
18 #endif // not XAOD_STANDALONE
19 
20 class INamedInterface;
21 
22 namespace 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
asg::AsgMessaging::msgLvl
bool msgLvl(const MSG::Level lvl) const
Test the output level of the object.
Definition: AsgMessaging.cxx:41
asg
Definition: DataHandleTestTool.h:28
asg::AsgMessaging::AsgMessaging
AsgMessaging(const std::string &name)
Constructor with a name.
Definition: AsgMessaging.cxx:17
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
asg::AsgMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AsgMessaging.cxx:49
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
MsgStreamMacros.h
AthMessaging.h
MsgStream.h