#include <GaudiKernel/IMessageSvc.h>
Inheritance diagram for IMessageSvc:

Public Methods | |
| virtual void | reportMessage ( const Message& message ) = 0 |
| Report a message by sending a Message object to the message serivice. More... | |
| virtual void | reportMessage ( const StatusCode& code, const std::string& source = "" ) = 0 |
| Report an error to the message service. More... | |
| virtual void | reportMessage ( const std::string& source, int type, const std::string& message ) = 0 |
| Report a message by specifying the source, severity level and text. More... | |
| virtual void | reportMessage ( const char* source, int type, const char* message = "" ) = 0 |
| Report a message by specifying the source, severity level and text. More... | |
| virtual void | insertMessage ( const StatusCode& code, const Message& message ) = 0 |
| Insert a message to be sent for a given status code into the error code repository. More... | |
| virtual void | eraseMessage () = 0 |
| Erase all messages associated to all status codes. | |
| virtual void | eraseMessage ( const StatusCode& code ) = 0 |
| Erase message associated to a given status code. | |
| virtual void | eraseMessage ( const StatusCode& code, const Message& message ) = 0 |
| Erase a given message associated to a given status code. More... | |
| virtual void | insertStream ( int type, const std::string& name, std::ostream* stream ) = 0 |
| Add a new stream for a message type (severity level). More... | |
| virtual void | eraseStream () = 0 |
| Delete all the streams. | |
| virtual void | eraseStream ( int message_type ) = 0 |
| Delete all the streams for a given message type (severity level). | |
| virtual void | eraseStream ( int type, std::ostream* stream ) = 0 |
| Delete a single stream for a given message type (severity level). More... | |
| virtual void | eraseStream ( std::ostream* stream ) = 0 |
| Delete all occurrences of a stream. More... | |
| virtual std::ostream* | defaultStream () const = 0 |
| Get the default stream. | |
| virtual void | setDefaultStream ( std::ostream* stream ) = 0 |
| Set the default stream. More... | |
| virtual int | outputLevel () const = 0 |
| Retrieve the current output level threshold. | |
| virtual int | outputLevel ( const std::string& source ) const = 0 |
| Retrieve the current output level threshold for a given message source. More... | |
| virtual void | setOutputLevel ( int new_level ) = 0 |
| Set new global output level threshold. | |
| virtual void | setOutputLevel ( const std::string& source, int new_level) = 0 |
| Set new output level threshold for a given message source. More... | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
This interface is used by any algorithm or services wanting to report messages to the end-user.
Definition at line 39 of file IMessageSvc.h.
|
|
Get the default stream.
|
|
|
Erase a given message associated to a given status code.
|
|
|
Erase message associated to a given status code.
|
|
|
Erase all messages associated to all status codes.
|
|
|
Delete all occurrences of a stream.
|
|
|
Delete a single stream for a given message type (severity level).
|
|
|
Delete all the streams for a given message type (severity level).
|
|
|
Delete all the streams.
|
|
|
Insert a message to be sent for a given status code into the error code repository.
|
|
|
Add a new stream for a message type (severity level).
|
|
|
Retrieve interface ID.
Reimplemented from IInterface. Definition at line 43 of file IMessageSvc.h. |
|
|
Retrieve the current output level threshold for a given message source.
|
|
|
Retrieve the current output level threshold.
Referenced by MsgStream::MsgStream(). |
|
|
Report a message by specifying the source, severity level and text. The text is passed as C like character string to avoid extra copying.
|
|
|
Report a message by specifying the source, severity level and text.
|
|
|
Report an error to the message service. The service will use the error code number for formating a human readible message
|
|
|
Report a message by sending a Message object to the message serivice.
Referenced by MsgStream::doOutput(), Service::finalize(), and Service::initialize(). |
|
|
Set the default stream.
|
|
|
Set new output level threshold for a given message source.
|
|
|
Set new global output level threshold.
Referenced by Service::initialize(), Auditor::setOutputLevel(), Algorithm::setOutputLevel(), and AlgTool::setProperties(). |
1.2.3 written by Dimitri van Heesch,
© 1997-2000