VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDeScopedLogLevel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
12 
13 #include <vrvUtil/DtDebugLog.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 
21  {
22  public:
24  DtDeScopedLogLevel(DtDe& de, int newLevel);
25 
27  virtual ~DtDeScopedLogLevel();
28 
30  DtDeScopedLogLevel() = delete;
32  DtDeScopedLogLevel(const DtDeScopedLogLevel& rhs) = delete;
34  DtDeScopedLogLevel& operator=(const DtDeScopedLogLevel& rhs) = delete;
35  protected:
38  bool myChanged = false;
39  };
40 }
DtDe & myDe
Definition: DtDeScopedLogLevel.h:36
DtDebugLog::PrintLevel myOldLevel
Definition: DtDeScopedLogLevel.h:37
sets the log level when scope is entered, and restores the old log level when scope is exited ...
Definition: DtDeScopedLogLevel.h:20
PrintLevel
Definition: DtDebugLog.h:41
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains makVrv::DtIGLogger class.
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)