HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_PerformanceMonitor.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_PerformanceMonitor_h__
10 #define __HOM_PerformanceMonitor_h__
11 
12 #include "HOM_PaneTab.h"
13 #include "HOM_EnumValue.h"
14 
15 SWIGOUT(%rename(PerformanceMonitor) HOM_PerformanceMonitor;)
16 
18 {
19 public:
21  { HOM_CONSTRUCT_OBJECT(this) }
22  // Because the lowermost base classes initialize the virtual bases
23  // before any non-virtual bases, the correct thing to do here is
24  // explicitly call the constructor for HOM_PaneTab.
26  : HOM_PaneTab(pane)
27  { HOM_CONSTRUCT_OBJECT(this) }
28 
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  // Let swig know we're overriding __repr__ for this class so it doesn't
33  // provide its own __repr__.
34  SWIGOUT(virtual std::string __repr__() = 0;)
35 
36  virtual bool isLiveUpdatesEnabled() = 0;
37  virtual void enableLiveUpdates(bool on) = 0;
38 
39  virtual bool isRecording() = 0;
40  virtual void startRecording() = 0;
41  virtual void stopRecording() = 0;
42 
43  virtual bool isSamplingCookStats() = 0;
44  virtual bool isSamplingErrors() = 0;
45  virtual bool isSamplingFrameStats() = 0;
46  virtual bool isSamplingMemoryStats() = 0;
47  virtual bool isSamplingObjectDrawStats() = 0;
48  virtual bool isSamplingObjectGPUDrawStats() = 0;
49  virtual bool isSamplingScriptStats() = 0;
50  virtual bool isSamplingSolveStats() = 0;
51  virtual bool isSamplingThreadStats() = 0;
52  virtual bool isSamplingViewportStats() = 0;
53  virtual void sampleCookStats(bool on) = 0;
54  virtual void sampleErrors(bool on) = 0;
55  virtual void sampleFrameStats(bool on) = 0;
56  virtual void sampleMemoryStats(bool on) = 0;
57  virtual void sampleObjectDrawStats(bool on) = 0;
58  virtual void sampleObjectGPUDrawStats(bool on) = 0;
59  virtual void sampleScriptStats(bool on) = 0;
60  virtual void sampleSolveStats(bool on) = 0;
61  virtual void sampleThreadStats(bool on) = 0;
62  virtual void sampleViewportStats(bool on) = 0;
63 
64  virtual HOM_EnumValue &objectView() = 0;
65  virtual void setObjectView(HOM_EnumValue &structure) = 0;
66 
67  virtual HOM_EnumValue &timeFormat() = 0;
68  virtual void setTimeFormat(HOM_EnumValue &format) = 0;
69 };
70 
71 #endif
virtual std::string __repr__()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
GLint GLint GLsizei GLint GLenum format
Definition: glcorearb.h:107
HOM_PerformanceMonitor(const HOM_PerformanceMonitor &pane)