HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PaneTab.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_PaneTab_h__
10 #define __HOM_PaneTab_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_EnumValue.h"
15 #include "HOM_Errors.h"
16 #include "HOM_Module.h"
17 #include "HOM_PtrOrNull.h"
18 
19 #include <string>
20 #include <vector>
21 
22 class HOM_FloatingPanel;
23 class HOM_Pane;
24 class HOM_RadialItem;
25 
26 
27 SWIGOUT(%rename(PaneTab) HOM_PaneTab;)
28 
30 {
31 public:
33  { HOM_CONSTRUCT_OBJECT(this) }
35  { HOM_CONSTRUCT_OBJECT(this) }
36  virtual ~HOM_PaneTab()
37  { HOM_DESTRUCT_OBJECT(this) }
38 
39  virtual bool operator==(HOM_PtrOrNull<HOM_PaneTab> pane_tab) = 0;
40  virtual bool operator!=(HOM_PtrOrNull<HOM_PaneTab> pane_tab) = 0;
41 
42  virtual int __hash__() = 0;
43  virtual std::string __repr__() = 0;
44 
45  SWIGOUT(%newobject pane;)
46  virtual HOM_Pane *pane() = 0;
47 
48  SWIGOUT(%newobject floatingPanel;)
49  virtual HOM_FloatingPanel *floatingPanel() = 0;
50 
51  virtual std::string name() = 0;
52  virtual void setName(const char *name) = 0;
53 
54  virtual bool isCurrentTab() = 0;
55  virtual void setIsCurrentTab() = 0;
56 
57  virtual bool isFloating() = 0;
58 
59  SWIGOUT(%newobject clone;)
60  virtual HOM_PaneTab *clone() = 0;
61 
62  virtual void close() = 0;
63 
64  SWIGOUT(%warnfilter(321) type;)
65  virtual HOM_EnumValue &type() = 0;
66  SWIGOUT(%newobject setType;)
67  virtual HOM_PaneTab *setType(HOM_EnumValue &type) = 0;
68 
69  virtual HOM_EnumValue &linkGroup() = 0;
70  virtual void setLinkGroup(HOM_EnumValue &group) = 0;
71  virtual bool isPin() = 0;
72  virtual void setPin(bool pin) = 0;
73 
74  virtual std::vector<std::string> _getValueNames() = 0;
75  virtual std::string _getValue(const char *name) = 0;
76  virtual bool _setValue(const char *name, const char* value) = 0;
77  virtual bool _pressButton(const char *name) = 0;
78 
79  virtual std::vector<int> size() = 0;
80  virtual std::vector<int> contentSize() = 0;
81 
82  virtual bool hasNetworkControls() = 0;
83  virtual bool isShowingNetworkControls() = 0;
84  virtual void setShowNetworkControls(bool value) = 0;
85 
86  virtual void displayRadialMenu(const std::string &name) = 0;
87  virtual void displayRadialMenu(HOM_RadialItem *item) = 0;
88 };
89 
90 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1210
GLsizeiptr size
Definition: glew.h:1681
GLuint const GLchar * name
Definition: glew.h:1814
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
void close() override
HOM_PaneTab(const HOM_PaneTab &)
Definition: HOM_PaneTab.h:34
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1209
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:563
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1253
GLsizei const GLchar *const * string
Definition: glew.h:1844
virtual ~HOM_PaneTab()
Definition: HOM_PaneTab.h:36
GLsizei const GLfloat * value
Definition: glew.h:1849
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:549
type
Definition: core.h:528
GLboolean GLuint group
Definition: glew.h:2745