HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_perfMon.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_perfMon_h__
10 #define __HOM_perfMon_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Node.h"
17 #include <vector>
18 
19 class HOM_PerfMonEvent;
20 class HOM_PerfMonProfile;
21 
22 SWIGOUT(%rename(perfMon) HOM_perfMon;)
24 {
25 public:
26  virtual ~HOM_perfMon()
27  {}
28 
29  virtual std::string __repr__() = 0;
30 
31  SWIGOUT(%kwargs startProfile;)
32  SWIGOUT(%newobject startProfile;)
33  virtual HOM_PerfMonProfile *startProfile(const char *title,
34  HOM_PerfMonRecordOptions *options=NULL) = 0;
35 
36  SWIGOUT(%newobject loadProfile;)
37  virtual HOM_PerfMonProfile *loadProfile(const char *file_path) = 0;
38  SWIGOUT(%newobject loadProfile;)
39  virtual HOM_PerfMonProfile *activeProfile() = 0;
40 
41  // This method is deprecated. Use startEvent() instead.
42  SWIGOUT(%newobject startTimedEvent;)
43  SWIGOUT(%kwargs startTimedEvent;)
44  virtual HOM_PerfMonEvent *startTimedEvent(
45  const char *description,
46  bool auto_nest_events=true) = 0;
47  SWIGOUT(%newobject startEvent;)
48  SWIGOUT(%kwargs startEvent;)
49  virtual HOM_PerfMonEvent *startEvent(
50  const char *description,
51  bool auto_nest_events=true) = 0;
52 
53  // This method is deprecated. Use startCookEvent() instead.
54  SWIGOUT(%newobject startTimedCookEvent;)
55  SWIGOUT(%kwargs startTimedCookEvent;)
56  virtual HOM_PerfMonEvent *startTimedCookEvent(
57  const char *description, HOM_Node &node) = 0;
58  SWIGOUT(%newobject startCookEvent;)
59  SWIGOUT(%kwargs startCookEvent;)
60  virtual HOM_PerfMonEvent *startCookEvent(
61  const char *description, HOM_Node &node) = 0;
62 
63  virtual bool isRecording() = 0;
64 };
65 
66 #endif
virtual ~HOM_perfMon()
Definition: HOM_perfMon.h:26
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:344
#define HOM_API
Definition: HOM_API.h:13
virtual std::string title()=0