Message Class Reference
[ConfigHandler - Runtime configuration from command line or config files]

Thread-safe streaming utility with settable threshold. More...

#include <Message.hh>

List of all members.

Public Member Functions

 Message (MESSAGE_LEVEL level=INFO)
 ~Message () throw ()
 Destructor; sends the message to the stream handler.
template<class T >
std::ostream & operator<< (const T &t)
 Redirect any stream output to the internal stringstream.
std::ostream & operator<< (std::ostream &(*pf)(std::ostream &))
std::ostream & operator<< (std::ios &(*pf)(std::ios &))
std::ostream & operator<< (std::ios_base &(*pf)(std::ios_base &))
std::string str ()
 Get the string used in the message.

Private Member Functions

 Message (const Message &right)
 Copy operator private.
Messageoperator= (const Message &right)
 Assignment operator private.

Private Attributes

MESSAGE_LEVEL _level
 The importance of this message.
std::ostringstream * _stream
 Internal stream holder.

Detailed Description

Thread-safe streaming utility with settable threshold.

Definition at line 22 of file Message.hh.


Constructor & Destructor Documentation

Message::Message ( MESSAGE_LEVEL  level = INFO  )  [inline]

Default constructor level the importance of this message

Definition at line 26 of file Message.hh.


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

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1