HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_SopVerb.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_SopVerb_h__
10 #define __HOM_SopVerb_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_OpVerb.h"
16 class HOM_Geometry;
17 class HOM_SopNode;
18 
19 SWIGOUT(%rename(SopVerb) HOM_SopVerb;)
20 
21 class HOM_API HOM_SopVerb : virtual public HOM_OpVerb
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
26  HOM_SopVerb(const HOM_SopVerb &sop_verb)
27  : HOM_OpVerb(sop_verb)
28  { HOM_CONSTRUCT_OBJECT(this) }
29  ~HOM_SopVerb() override
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  // Let swig know we're overriding __repr__ for this class so it doesn't
33  // provide its own __repr__.
34  SWIGOUT(virtual std::string __repr__() = 0;)
35 
36  virtual void execute(HOM_Geometry &dest, const std::vector<HOM_Geometry *> &inputs) = 0;
37  virtual void executeAtTime(HOM_Geometry &dest, const std::vector<HOM_Geometry *> &inputs, double time, bool add_time_dep) = 0;
38 };
39 
40 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
GT_API const UT_StringHolder time
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1342
~HOM_SopVerb() override
Definition: HOM_SopVerb.h:29
HOM_SopVerb(const HOM_SopVerb &sop_verb)
Definition: HOM_SopVerb.h:26
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual std::vector< HOM_ElemPtr< HOM_Node > > inputs()=0