VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgProfiledGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvOsg/vrvOsg.h>
9 
10 #include <osg/Group>
11 
12 namespace osg
13 {
14  class NodeVisitor;
15 }
16 
17 namespace makVrv
18 {
22  class DT_DLL_VRVOSG DtOsgProfiledGroup : public osg::Group
23  {
24  public:
26  DtOsgProfiledGroup(const char* stat_group_name, const char* profile_name);
27 
29  virtual ~DtOsgProfiledGroup();
30 
32  DtOsgProfiledGroup() = delete;
34  DtOsgProfiledGroup(const DtOsgProfiledGroup& rhs) = delete;
36  DtOsgProfiledGroup& operator=(const DtOsgProfiledGroup& rhs) = delete;
37 
38  public:
40  virtual void traverse(osg::NodeVisitor& nv);
41  protected:
42  const char* myStatGroupName;
43  const char* myTraverseName;
44  };
45 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
const char * myStatGroupName
Definition: DtOsgProfiledGroup.h:42
Contains DLL export macros.
simple class that allows a group to get automatically profiled with both DtPROFILE markers and concur...
Definition: DtOsgProfiledGroup.h:22
const char * myTraverseName
Definition: DtOsgProfiledGroup.h:43

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)