HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ContextViewer.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_ContextViewer_h__
10 #define __HOM_ContextViewer_h__
11 
12 #include "HOM_PathBasedPaneTab.h"
13 
15 class HOM_SceneViewer;
16 
17 SWIGOUT(%rename(ContextViewer) HOM_ContextViewer;)
18 
20 {
21 public:
23  { HOM_CONSTRUCT_OBJECT(this) }
24 
25  // Because the lowermost base classes initialize the virtual bases
26  // before any non-virtual bases, the correct thing to do here is
27  // explicitly call the constructor for HOM_PaneTab.
29  : HOM_PaneTab(pane), HOM_PathBasedPaneTab(pane)
30  { HOM_CONSTRUCT_OBJECT(this) }
31 
33  { HOM_DESTRUCT_OBJECT(this) }
34 
35  // Let swig know we're overriding __repr__ for this class so it doesn't
36  // provide its own __repr__.
37  SWIGOUT(virtual std::string __repr__() = 0;)
38 
39  SWIGOUT(%newobject sceneViewer;)
40  virtual HOM_SceneViewer *sceneViewer() = 0;
41 
42  SWIGOUT(%newobject compositorViewer;)
43  virtual HOM_CompositorViewer *compositorViewer() = 0;
44 };
45 
46 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1056
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:344
virtual ~HOM_ContextViewer()
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
HOM_ContextViewer(const HOM_ContextViewer &pane)
virtual HOM_Pane * pane()=0