BASE::RCLogInterface Class Reference

Interface for logging warning and error messages. More...

Inherited by BASE::RCLogDistributor, BASE::RCLogFile, and GUIBASE::RCLogWindow.

Inheritance diagram for BASE::RCLogInterface:

Inheritance graph
[legend]
Collaboration diagram for BASE::RCLogInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCLogInterface (TLogLevel nMaxLevel=LL_ENTRY_COUNT)
void AddEntry (const RCLogMessage &LogMessage)

Static Public Member Functions

static void AddEntryToDefault (TLogLevel nLevel, const RCString &sText, const RCString &sSender, const RCString &sComment)
static void SetDefaultInterface (RCLogInterface &LogInterface)

Static Public Attributes

static const RCString SENDER_UNKNOWN = _T("<unknown>")
static const RCString NO_COMMENT = _T("<no comment>")

Protected Member Functions

virtual void WriteEntry (const RCLogMessage &LogMessage)=0

Protected Attributes

TLogLevel m_nMaxLevel
RCMutex m_Access

Static Protected Attributes

static RCLogInterfacem_pDefaultInterface = NULL

Detailed Description

Interface for logging warning and error messages.

Author:
Patrik Stellmann
This class defines an interface to send error and warning messages to for logging.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:27 2006 for Simulator Bob by  doxygen 1.4.6-NO