VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectLog.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
16 #include <vrvUtil/DtDebugLog.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtDebugLog;
22 
23  #define DT_INDIRECT_LOG_WARN log().out(DtDebugLog::Warning) << "Warning: " << __FILE__ << " +" << __LINE__ << " " << __FUNCTION__ << ": "
24  #define DT_INDIRECT_LOG_INFO log().out(DtDebugLog::Information) << "Info: " << __FILE__ << " +" << __LINE__ << " " << __FUNCTION__ << ": "
25  #define DT_INDIRECT_LOG_DEBUG log().out(DtDebugLog::Debug) << "Debug: " << __FILE__ << " +" << __LINE__ << " " << __FUNCTION__ << ": "
26 
31  {
32  public:
34  virtual ~DtIndirectLog();
35 
37  static DtIndirectLog& instance(DtDe& de);
38  public:
39  DtDebugLog& log();
40 
41  protected:
43  DtIndirectLog(DtDe& de);
44 
45  private:
47  DtIndirectLog() = delete;
48 
50  DtIndirectLog(const DtIndirectLog&) = delete;
51 
53  DtIndirectLog& operator=(const DtIndirectLog&) = delete;
54 
55  protected:
57 
58  DtDebugLog* myDebugLog = nullptr;
59 
62  };
63 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtDe & myDe
Definition: DtIndirectLog.h:56
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
This is a simple class for logging information to a file. To be used, the caller must specify a loggi...
Definition: DtDebugLog.h:38
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
This class is specifically used by the indirect system It&#39;s separate so that it doesn&#39;t interfere wit...
Definition: DtIndirectLog.h:30
Base class to provide boost signal/slot management.
Contains DLL export macros.
DtSignalConnectionManager myConnections
manager for connections
Definition: DtIndirectLog.h:61
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:76
Contains makVrv::DtIGLogger class.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)