HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_CompositorViewer.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_CompositorViewer_h__
10 #define __HOM_CompositorViewer_h__
11 
12 #include "HOM_PathBasedPaneTab.h"
13 #include "HOM_EnumModules.h"
14 
15 SWIGOUT(%rename(CompositorViewer) HOM_CompositorViewer;)
16 
18 {
19 public:
21  { HOM_CONSTRUCT_OBJECT(this) }
22 
23  // Because the lowermost base classes initialize the virtual bases
24  // before any non-virtual bases, the correct thing to do here is
25  // explicitly call the constructor for HOM_PaneTab.
27  : HOM_PaneTab(pane), HOM_PathBasedPaneTab(pane)
28  { HOM_CONSTRUCT_OBJECT(this) }
29 
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  // Let swig know we're overriding __repr__ for this class so it doesn't
34  // provide its own __repr__.
35  SWIGOUT(virtual std::string __repr__() = 0;)
36 
37  virtual std::string currentState() = 0;
38 
39  virtual void enterViewState(bool wait_for_exit = false) = 0;
40 
41  virtual void setCurrentState(const char *state, bool wait_for_exit = false) = 0;
42 };
43 
44 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual std::string __repr__()=0
HOM_CompositorViewer(const HOM_CompositorViewer &pane)
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:972