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  virtual void saveProfile(HOM_PerfMonProfile *profile, const char *file_path) = 0;
39  SWIGOUT(%newobject loadProfile;)
40  virtual HOM_PerfMonProfile *activeProfile() = 0;
41 
42  // This method is deprecated. Use startEvent() instead.
43  SWIGOUT(%newobject startTimedEvent;)
44  SWIGOUT(%kwargs startTimedEvent;)
45  virtual HOM_PerfMonEvent *startTimedEvent(
46  const char *description,
47  bool auto_nest_events=true) = 0;
48  SWIGOUT(%newobject startEvent;)
49  SWIGOUT(%kwargs startEvent;)
50  virtual HOM_PerfMonEvent *startEvent(
51  const char *description,
52  bool auto_nest_events=true) = 0;
53 
54  // This method is deprecated. Use startCookEvent() instead.
55  SWIGOUT(%newobject startTimedCookEvent;)
56  SWIGOUT(%kwargs startTimedCookEvent;)
57  virtual HOM_PerfMonEvent *startTimedCookEvent(
58  const char *description, HOM_Node &node) = 0;
59 
60  SWIGOUT(%newobject startCookEvent;)
61  SWIGOUT(%kwargs startCookEvent;)
62  virtual HOM_PerfMonEvent *startCookEvent(
63  const char *description, HOM_Node &node) = 0;
64 
65  SWIGOUT(%newobject startPaneEvent;)
66  SWIGOUT(%kwargs startPaneEvent;)
67  virtual HOM_PerfMonEvent *startPaneEvent(
68  const char *panetype, const char *operation) = 0;
69 
70  virtual bool isRecording() = 0;
71 };
72 
73 #endif
virtual ~HOM_perfMon()
Definition: HOM_perfMon.h:26
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual std::string title()=0