VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtVrfDebugLog Class Reference

Override to detach printers that are already created by VRF. More...

Inheritance diagram for makVrf::DtVrfDebugLog:
Inheritance graph
[legend]

Public Member Functions

 DtVrfDebugLog (const std::string &filename)
virtual ~DtVrfDebugLog ()
 DTOR.
- Public Member Functions inherited from makVrv::DtDebugLog
 DtDebugLog (const std::string &filename)
 default constructor
virtual ~DtDebugLog ()
 DTOR.
bool levelWillPrint (DtDebugLog::PrintLevel alevel)
 Check to see if the provided level would print with the current level.
virtual void setLevel (DtDebugLog::PrintLevel alevel)
 Set the output level.
virtual void setOutputStream (DtOutputStream *stream)
 Set the output stream.
virtual DtDebugLog::PrintLevel level ()
 Get the output level.
std::ostream & out (DtDebugLog::PrintLevel level=DtDebugLog::Information)
 Get the log output.
DtOutputStream * outputStream ()
 Get the output stream.

Additional Inherited Members

- Public Types inherited from makVrv::DtDebugLog
enum  PrintLevel { Warning = 1, Information = 2, Debug = 4, PrintLevel_End = 5 }
- Protected Attributes inherited from makVrv::DtDebugLog
PrintLevel myLevel
 variable used to decide whether send output to the 'works always' stream (myOutput) or the 'works never' stream (myEmptyOutput)
DtFilePrinter * myFilePrinter
 The file printer to log to.
DtOutputStreamBuffer * myBuffer
 The buffer used by the output stream.
DtOutputStreamBuffer * myEmptyBuffer
 The buffer used by the empty output stream.
int myPrintLevelThresholdRef
 The dummy 'global notify level' that our DtOutputStream's will compare their configured thresholds to.
DtOutputStream * myOutput
 The output stream that does all the work.
std::ostream * myEmptyOutput
 The 'black hole' output stream When the stream is created, its threshold is set to myPrintLevelThresholdRef+1 so its always greater than the reference, making it a 'works never' output stream.

Detailed Description

Override to detach printers that are already created by VRF.

Constructor & Destructor Documentation

makVrf::DtVrfDebugLog::DtVrfDebugLog ( const std::string &  filename)
virtual makVrf::DtVrfDebugLog::~DtVrfDebugLog ( )
virtual

DTOR.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)