VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlDebugger.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
11 
13 
14 #include <unordered_set>
15 
16 namespace makVrv
17 {
18  // forward Declarations
19  class DtGlDebugger;
20 
23 
25  template <>
26  inline const char* creatorTypeName<DtGlDebugger>() { return "DtGlDebuggerCreator"; }
27 
29  {
31 
32  public:
33 
35  virtual ~DtGlDebugger();
36 
38  DtGlDebugger() = delete;
39 
41  DtGlDebugger(const DtGlDebugger& other) = delete;
42 
44  DtGlDebugger& operator=(const DtGlDebugger& other) = delete;
45 
46  public:
47 
50  virtual void startup();
51 
54  virtual void shutdown();
55 
57  virtual void addRef();
58 
60  virtual void removeRef();
61 
63  virtual int refCount() const;
64 
65  protected:
66 
69  DtGlDebugger(DtDe& de);
70 
71  public:
72 
74  virtual bool isInSkipList(unsigned int id) const;
75 
78  virtual bool shouldSupressSeverity(int count, const char* type) const;
79 
81  virtual void handleDebugMessage(GLenum source, GLenum type,
82  GLuint id, GLenum severity, int length, const char* message);
83 
84  protected:
85 
88 
90  std::unordered_set<unsigned int> myErrorSkipList;
91  };
92 
93 }
Dll export defines.
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
static DtGlDebugger * theInstance
Definition: DtGlDebugger.h:86
int myRefCount
Definition: DtGlDebugger.h:89
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:18
DtVirtualBaseClassCreator< DtGlDebugger > DtGlDebuggerCreator
creator
Definition: DtGlDebugger.h:19
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Definition: DtGlDebugger.h:28
std::unordered_set< unsigned int > myErrorSkipList
Definition: DtGlDebugger.h:90
const char * source
Definition: lz4.h:442
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:19
const char * creatorTypeName< DtGlDebugger >()
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtGlDebugger.h:26
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
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
static int theSuppressSeverityCount
Definition: DtGlDebugger.h:87
friend DtGlDebuggerCreator
Definition: DtGlDebugger.h:30

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)