VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectManager.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 
15 
16 #include <map>
17 #include <string>
18 
19 namespace makVrv
20 {
21 
26  {
27  public:
28 
30  {
36  PerInstanceDataManager
37  };
38 
39  public:
40 
43 
45  virtual ~DtIndirectManager();
46 
47  private:
49  DtIndirectManager() = delete;
51  DtIndirectManager(const DtIndirectManager &other) = delete;
53  DtIndirectManager &operator=(const DtIndirectManager &other) = delete;
54 
55  public:
56 
58  static int managerType();
59 
60  protected:
61 
63 
64  };
65 
69  {
70  public:
73 
75  virtual ~DtIndirectManagerCreator();
76 
78  virtual DtIndirectManager* create() const = 0;
79 
80  protected:
82  };
83 
87  {
88  public:
89  typedef std::map<int, DtIndirectManagerCreator*> MapManagerTypeToCreator;
90  typedef std::map<int, DtIndirectManager*> MapManagerTypeToManager;
91 
92  public:
95 
97  virtual ~DtIndirectManagerFactory();
98 
99  public:
100 
101  virtual void registerType(int managerType, DtIndirectManagerCreator* creator);
102 
104  virtual DtIndirectManager* create(int managerType) const;
105 
107  virtual MapManagerTypeToManager createAll() const;
108 
111  static DtIndirectManagerFactory& instance(DtDe& de);
112 
114  static const std::string& theClassName();
115  protected:
117 
119  };
120 
121 
122 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::map< int, DtIndirectManager * > MapManagerTypeToManager
Definition: DtIndirectManager.h:90
Definition: DtIndirectManager.h:32
parent manager class for all Indirect managers. Managers handle information about a specific feature ...
Definition: DtIndirectManager.h:25
MapManagerTypeToCreator myIndirectManagers
Definition: DtIndirectManager.h:118
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
creator for DtIndirectManager
Definition: DtIndirectManager.h:68
Definition: DtIndirectManager.h:33
Definition: DtIndirectManager.h:35
DtDe & myDe
Definition: DtIndirectManager.h:81
std::map< int, DtIndirectManagerCreator * > MapManagerTypeToCreator
Definition: DtIndirectManager.h:89
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtIndirectManager.h:116
Definition: DtIndirectManager.h:31
DtDe & myDe
Definition: DtIndirectManager.h:62
creator for all the different DtIndirectManager types
Definition: DtIndirectManager.h:86
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:76
Definition: DtIndirectManager.h:34
ManagerTypes
Definition: DtIndirectManager.h:29

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)