VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGpuArenaUserData.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 #include <vrvCore/DtKeyedData.h>
17 
19 
20 #include <osg/Matrixd>
21 
22 #include <vector>
23 #include <array>
24 
25 namespace osg
26 {
27  class FrameStamp;
28 }
29 
30 namespace makVrv
31 {
32  class DtIndirectGeometry;
33 
36  {
37  public:
38  DtGpuArenaUserData(DtDe& de, const std::string& name);
39  virtual ~DtGpuArenaUserData();
40  private:
42  DtGpuArenaUserData() = delete;
44  DtGpuArenaUserData(const DtGpuArenaUserData& rhs) = delete;
46  DtGpuArenaUserData& operator=(const DtGpuArenaUserData& rhs) = delete;
47  public:
49  virtual void clear(void);
51  virtual void execute(const osg::FrameStamp* frameStamp);
52  protected:
53  };
54 
57 
59  template <>
60  inline const char* creatorTypeName<DtGpuArenaUserData>(void) { return "DtGpuArenaUserDataCreator"; }
61 }
This represents an arbitrary user pointer/data within DtKeyedData.
Definition: DtKeyedData.h:95
DtGpuArenaUserData()=delete
not allowed
virtual void execute(const osg::FrameStamp *frameStamp)
Execute. Called from operator() of DtGpuArena.
Contains the DtGpuArenaUserData class declaration.
virtual void clear(void)
Clear. Called via update in DtGpuArena.
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
Contains DLL export macros.
const char * creatorTypeName< DtGpuArenaUserData >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtGpuArenaUserData.h:60
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
DtGpuArenaUserData & operator=(const DtGpuArenaUserData &rhs)=delete
not allowed
Place holder to do thread safe per context ops for when we do multi-threaded.
Definition: DtGpuArenaUserData.h:35
Contains the DtKeyedData class declaration.
DtVirtualBaseClassCreator< DtGpuArenaUserData, const std::string & > DtGpuArenaUserDataCreator
creator
Definition: DtGpuArenaUserData.h:56

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)