MISTATUSLOGGER Class Reference

Status logger, provides automatic recording of messages to session log. More...

#include <mi32/mistatus.h>

Inheritance diagram for MISTATUSLOGGER:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MISTATUSLOGGER ()
virtual ~MISTATUSLOGGER ()
void SetLogDisabled ()
void SetLogEnabled ()

Protected Member Functions

virtual void v_ReportBegin (MISTATUSCONTEXT &context, const MISTRING &msgstr)
virtual void v_ReportEnd (MISTATUSCONTEXT &context, const MISTRING &msgstr, const MISTRING &timerstr)
virtual void v_ReportMessage (MISTATUSCONTEXT &context, const MISTRING &msgstr)

Detailed Description

Status logger, provides automatic recording of messages to session log.


Constructor & Destructor Documentation

MISTATUSLOGGER::MISTATUSLOGGER (  ) 

Default constructor.

virtual MISTATUSLOGGER::~MISTATUSLOGGER (  )  [virtual]

Destructor.


Member Function Documentation

void MISTATUSLOGGER::SetLogDisabled (  )  [inline]

Disable logging Each call must be matched by call to SetLogEnabled to re-enable logging.

void MISTATUSLOGGER::SetLogEnabled (  )  [inline]

Enable logging.

virtual void MISTATUSLOGGER::v_ReportBegin ( MISTATUSCONTEXT context,
const MISTRING msgstr 
) [protected, virtual]

Report task beginning.

Default implementation calls ReportMessage and logs message. Derived class should call base implementation to do logging.

Reimplemented from MISTATUSMANAGER.

virtual void MISTATUSLOGGER::v_ReportEnd ( MISTATUSCONTEXT context,
const MISTRING msgstr,
const MISTRING timerstr 
) [protected, virtual]

Report that task is ending.

Formats strings together and logs. Derived class should call base implementation to do logging.

Reimplemented from MISTATUSMANAGER.

virtual void MISTATUSLOGGER::v_ReportMessage ( MISTATUSCONTEXT context,
const MISTRING msgstr 
) [protected, virtual]

Report message.

Derived class should call base implementation to do logging.

Reimplemented from MISTATUSMANAGER.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:39 2012 for TNTsdk 2012 by  doxygen 1.6.1