TrigConf::MsgStreamTC Class Reference

#include <MsgStream.h>

List of all members.

Public Member Functions

 MsgStreamTC (const std::string &name)
MSGTC::Level level ()
 Return message level of stream.
void setLevel (MSGTC::Level lvl)
 Set message level of stream.
void setWidth (unsigned int width)
MsgStreamTCoperator<< (MSGTC::Level lvl)
 Output operator for message levels.
template<typename T >
MsgStreamTCoperator<< (const T &t)
 Output operator for default types.
MsgStreamTCoperator<< (std::ios &(*_f)(std::ios &))
 Output operator for stream modifiers.
MsgStreamTCoperator<< (std::ostream &(*_f)(std::ostream &))
 Output operator to support endl, etc.
MsgStreamTCoperator<< (MsgStreamTC &(*_f)(MsgStreamTC &))
 Output operator to support endmsg, etc.
void doOutput ()
 Print the current message buffer.
bool isActive ()
 Is the stream active?
void setName (const std::string &name)
 set the name if you want to change the message stream name

Detailed Description

MsgStreamTC class to be used in DetCommon equivalant to Gaudi's MsgStream

The usage and behavior is identical to the default Gaudi message stream. If the code is run within a Gaudi/Athena environment, the MsgStreamTC will try to print its messages via the Gaudi MessageSvc. This is achieved via weak linking. In a non-Gaudi/Athena environemt ERS will be used. The class can be used directly or better via inheriting from TrigConf::TrigConfMessaging, which is the equivalent of AthMessaging.

Main difference to Gaudi MsgStream:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1