HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GadgetDrawable.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_GadgetDrawable_h
10 #define HOM_GadgetDrawable_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_Vector4.h"
15 #include "HOM_GeometryDrawable.h"
16 
17 SWIGOUT(%rename(GadgetDrawable) HOM_GadgetDrawable;)
18 SWIGOUT(%feature("notabstract") HOM_GadgetDrawable;)
19 
21 {
22 public:
23 #ifdef SWIG
24 %extend
25 {
26  HOM_GadgetDrawable(int64 widget, int64 gadget_context)
27  {
28  return HOM().newGadgetDrawable(widget, gadget_context);
29  }
30 }
31 #else
33  { HOM_CONSTRUCT_OBJECT(this) }
34 #endif
35 
37  { HOM_DESTRUCT_OBJECT(this) }
38 
39  SWIGOUT(virtual std::string __repr__() = 0;)
40 };
41 
42 #endif // HOM_GadgetDrawable_h
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
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
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
long long int64
Definition: SYS_Types.h:116
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual HOM_GadgetDrawable * newGadgetDrawable(int64 widget, int64 gadget_context)=0
HOM_API HOM_Module & HOM()
~HOM_GadgetDrawable() override