VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStatsHandlerManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 #include <osg/ref_ptr>
17 
18 
19 namespace makVrv
20 {
21  class DtOsgStatsHandler;
22 
28  {
29  public:
31  static DtStatsHandlerManager& instance(DtDe& de);
32 
33  protected:
34 
37 
39  virtual ~DtStatsHandlerManager();
40 
41  private:
43  DtStatsHandlerManager(const DtStatsHandlerManager& other) = delete;
45  DtStatsHandlerManager& operator=(const DtStatsHandlerManager& other) = delete;
46 
47  public:
48 
50  virtual void toggleOnScreenStats();
51 
53  virtual void toggleProfilerStats();
54 
55  //sends the command to the stats handler for transforming the stats
56  virtual void transformStats();
57 
59  virtual void recreateStatsHandler();
60  protected:
61 
63 
65  };
66 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::ref_ptr< DtOsgStatsHandler > myStatsHandler
Definition: DtStatsHandlerManager.h:64
Definition: featureContext.h:37
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtStatsHandlerManager.h:62
Class for managing the creation and recreation of the stats handler. This class was added to clean up...
Definition: DtStatsHandlerManager.h:27
Contains DLL export macros.
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:72

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)