GUIBASE::RCLogWindow Class Reference

Inherits GUIBASE::RCDockableDialog, BASE::RCLogInterface, and BASE::TRCParameter< RCLogWindow >.

Inheritance diagram for GUIBASE::RCLogWindow:

Inheritance graph
[legend]
Collaboration diagram for GUIBASE::RCLogWindow:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TRCTrivialParamHandler<
RCLogWindow
THandler

Public Member Functions

 RCLogWindow (RCMdiMainFrame &MainFrame, TInt nControlBarId)
virtual void ReadFromSerial (RCSerializer &Serializer, const RCString &sKey=_T(""), TBool bWriteDefaults=false)
virtual void WriteToSerial (RCSerializer &Serializer, const RCString &sKey=_T("")) const

Protected Types

typedef RCLogMessageTLogMessagePtr
typedef TRCAdvancedListCtrl<
TLogMessagePtr
TListCtrl
typedef list< TLogMessagePtrTLogList
enum  TConstants {
  TIMESTAMP_COL,
  LEVEL_COL,
  SENDER_COL,
  MESSAGE_COL,
  COMMENT_COL,
  COLUMN_COUNT
}

Protected Member Functions

virtual BOOL OnInitDialog ()
afx_msg void OnPaint ()
virtual void WriteEntry (const RCLogMessage &LogMessage)

Static Protected Member Functions

static RCString GetEntryString (const TLogMessagePtr &pMessage, TInt nColumn, void *pDummy)
static TSInt CompareEntries (const TLogMessagePtr &pMessage1, const TLogMessagePtr &pMessage2, TInt nColumn, void *pDummy)
static COLORREF GetTextColor (const TLogMessagePtr &pMessage, TInt nRow, TInt nColumn, void *pDummy)
static COLORREF GetBkColor (const TLogMessagePtr &pMessage, TInt nRow, TInt nColumn, void *pDummy)

Protected Attributes

RCMdiMainFramem_MainFrame
RCSize m_Size
TBool m_bIsInitialized
TListCtrl m_ListCtrl
TLogLevel m_nFilterLevel
TLogLevel m_nForceVisibleLevel
TLogList m_FullLogList
TLogList m_EnqueuedLogList
RCMutex m_LogListAccess

Static Protected Attributes

static const RCString KEY = _T("LogWindow")
static const RCString TITLE = _T("Log Window")
static const TLogLevel DEFAULT_FILTER_LEVEL
static const RCString DOCKBAR_KEY = _T("LogWindow")
static const RCString COLUMN_TITLE [COLUMN_COUNT]
static const TLong COLUMN_WIDTH [COLUMN_COUNT]
static const COLORREF TEXT_COL [LL_ENTRY_COUNT]
static const COLORREF BK_COL [LL_ENTRY_COUNT]

Detailed Description

Author:
Patrik Stellmann


Member Data Documentation

const COLORREF RCLogWindow::BK_COL [static, protected]
 

Initial value:

{
    CLR_DEFAULT,
    CLR_DEFAULT,
    CLR_DEFAULT,
    CLR_DEFAULT,
    CLR_DEFAULT,
    CLR_DEFAULT,
}

const RCString RCLogWindow::COLUMN_TITLE [static, protected]
 

Initial value:

{
    _T("Timestamp"),    
    _T("Level"),        
    _T("Sender"),       
    _T("Message"),      
    _T("Comment"),      
}

const TLong RCLogWindow::COLUMN_WIDTH [static, protected]
 

Initial value:

{
    100,    
    80, 
    150,    
    600,    
    400,    
}

const TLogLevel RCLogWindow::DEFAULT_FILTER_LEVEL [static, protected]
 

Initial value:

 



        LL_INFO

const COLORREF RCLogWindow::TEXT_COL [static, protected]
 

Initial value:

{
    RGB(220,   0,   0),
    RGB(220,   0,   0),
    RGB(220,   0,   0),
    CLR_DEFAULT,
    RGB( 128,  128,  128),
    RGB( 128,  128,  128),
}


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