class rcMsg

Message class for the run control

Public Classes

enum eLog_types
Enum for the different types of messages

Public Methods

static void init()
Initialisation routine
static void msg( int iType, const char *msg, const char* file = NULL, int iLine = 0 )
Puts the message to cout

Public

enum eLog_types
Enum for the different types of messages

Private Fields

static msg_control* pMsgDebug
msg_control structur for debug messages
static msg_control* pMsgError
msg_control structur for error messages
static msg_control* pMsgFatal
msg_control structur for fatal messages
static msg_control* pMsgInfo
msg_control structur for info messages
static msg_control* pMsgWarning
msg_control structur for warning messages

Documentation

Message class for the run control. The run control prints messages of several types. These messages go from the user's point of view to cout. Behind the scenes are two layers:

rcLog:
The reaons for using rcLog is to historical: It was started when there was no PHENIX messaging system, and the goal was to be able to integrate it easily with whatever message system we would end up with. Using a macro in addition allows to append the C preprocessor variables __FILE__ and __LINE__ if the code is compiled with the flag RC_DEBUG. This allows to quickly locate messages in files. rcLog currently just calls rcMsg::msg.

rcMsg:
The run control message interfaces with the PHENIX messaging system. This class consists of a few static member functions to setup the various message filters. (See the PHENIX messaging system for details, the author is M.Purschke).
The run control has the following message types:

Last Update: Feb 2, 2000, CW

enum eLog_types
Enum for the different types of messages. DEBUG, INFO, WARNING, ERROR and FATAL.

static void init()
Initialisation routine. Sets up the various filters using MLPs msg_control class.

static void msg( int iType, const char *msg, const char* file = NULL, int iLine = 0 )
Puts the message to cout

static msg_control* pMsgDebug
msg_control structur for debug messages

static msg_control* pMsgInfo
msg_control structur for info messages

static msg_control* pMsgWarning
msg_control structur for warning messages

static msg_control* pMsgError
msg_control structur for error messages

static msg_control* pMsgFatal
msg_control structur for fatal messages


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de