HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_LopPostLayer.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  * Class used to create a block for editing a post layer on a
8  * LOP Network.
9  */
10 
11 #ifndef __HOM_LopPostLayer_h__
12 #define __HOM_LopPostLayer_h__
13 
14 #include "HOM_API.h"
15 #include "HOM_Errors.h"
16 #include "HOM_Module.h"
17 
18 SWIGOUT(%rename(LopPostLayer) HOM_LopPostLayer;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  // Let swig know we're overriding __repr__ for this class so it doesn't
31  // provide its own __repr__.
32  virtual std::string __repr__() = 0;
33 
34  virtual HOM_LopPostLayer *__enter__() = 0;
35 
36  SWIGOUT(%ignore opaqueLayer;)
37  virtual void *opaqueLayer() = 0;
38  SWIGOUT(%ignore opaqueStage;)
39  virtual void *opaqueStage() = 0;
40 
41  SWIGOUT(%ignore opaqueExit;)
42  virtual void opaqueExit() = 0;
43 
44 #ifdef SWIG
45 %extend
46 {
47  InterpreterObject layer()
48  { return HOMincRef((InterpreterObject)self->opaqueLayer()); }
49  InterpreterObject stage()
50  { return HOMincRef((InterpreterObject)self->opaqueStage()); }
51 
52  // We can ignore the type, value, and traceback Python objects.
53  SWIGOUT(virtual void __exit__(
54  InterpreterObject type, InterpreterObject value,
55  InterpreterObject traceback)
56  { self->opaqueExit(); };)
57 }
58 #endif
59 
60 };
61 
62 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
virtual ~HOM_LopPostLayer()
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:349
GLenum GLuint GLint GLint layer
Definition: glcorearb.h:1299
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HOM_LopPostLayer(const HOM_LopPostLayer &)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131
HOM_LopPostLayer()
type
Definition: core.h:1059