HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GadgetContext.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_GadgetContext_h
10 #define HOM_GadgetContext_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 
15 SWIGOUT(%rename(GadgetContext) HOM_GadgetContext;)
16 
18 {
19 public:
21  {
23  }
25  {
26  HOM_DESTRUCT_OBJECT(this)
27  }
28 
29  virtual std::string gadget() const = 0;
30  virtual std::string gadgetLabel() const = 0;
31  virtual int component1() const = 0;
32  virtual int component2() const = 0;
33  virtual bool isLocating() const = 0;
34  virtual bool isPicking() const = 0;
35  virtual bool isDrawing() const = 0;
36  virtual bool isLocated( std::string const & gadget_name) const = 0;
37  virtual bool isPicked( std::string const & gadget_name) const = 0;
38 };
39 
40 #endif
virtual ~HOM_GadgetContext()
#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
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)