HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerHandleDragger.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_ViewerHandleDragger_h
10 #define HOM_ViewerHandleDragger_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_ViewerDragger.h"
16 #include <UT/UT_NonCopyable.h>
17 #include <UT/UT_Tuple.h>
18 
19 class HOM_Matrix4;
20 
21 SWIGOUT(%feature("notabstract") HOM_ViewerHandleDragger;)
22 SWIGOUT(%rename(ViewerHandleDragger) HOM_ViewerHandleDragger;)
23 
25 {
26 public:
27 
28 #ifdef SWIG
29 %extend
30 {
32  HOM_ViewerHandleDragger(std::string const & name)
33  {
34  return HOM().newViewerHandleDragger(name);
35  }
36 }
37 #else
39  { HOM_CONSTRUCT_OBJECT(this) }
40 #endif
41 
43  { HOM_DESTRUCT_OBJECT(this) }
44 
45  // SWIG has problems with parsing deleted operator=()
46 #ifndef SWIG
48 #endif
49 
50  virtual std::string __repr__() = 0;
51 };
52 
53 #endif // HOM_ViewerHandleDragger_h
54 
#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
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_API HOM_Module & HOM()
virtual HOM_ViewerHandleDragger * newViewerHandleDragger(std::string const &name)=0