VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtDeScopedLogLevel Class Reference

sets the log level when scope is entered, and restores the old log level when scope is exited

Public Member Functions

 DtDeScopedLogLevel (DtDe &de, DtDebugLog &log, int newLevel)
 
virtual ~DtDeScopedLogLevel ()
 
 DtDeScopedLogLevel ()=delete
 
 DtDeScopedLogLevel (const DtDeScopedLogLevel &rhs)=delete
 
DtDeScopedLogLeveloperator= (const DtDeScopedLogLevel &rhs)=delete
 

Protected Attributes

DtDemyDe
 
DtDebugLog::PrintLevel myOldLevel
 
bool myChanged = false
 
DtDebugLogmyLog
 

Constructor & Destructor Documentation

makVrv::DtDeScopedLogLevel::DtDeScopedLogLevel ( DtDe de,
DtDebugLog log,
int  newLevel 
)

constructor

virtual makVrv::DtDeScopedLogLevel::~DtDeScopedLogLevel ( )
virtual

destructor

makVrv::DtDeScopedLogLevel::DtDeScopedLogLevel ( )
delete

not allowed

makVrv::DtDeScopedLogLevel::DtDeScopedLogLevel ( const DtDeScopedLogLevel rhs)
delete

not allowed

Member Function Documentation

DtDeScopedLogLevel& makVrv::DtDeScopedLogLevel::operator= ( const DtDeScopedLogLevel rhs)
delete

not allowed

Member Data Documentation

DtDe& makVrv::DtDeScopedLogLevel::myDe
protected
DtDebugLog::PrintLevel makVrv::DtDeScopedLogLevel::myOldLevel
protected
bool makVrv::DtDeScopedLogLevel::myChanged = false
protected
DtDebugLog& makVrv::DtDeScopedLogLevel::myLog
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)