HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_PopNode.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_PopNode_h__
10 #define __HOM_PopNode_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Node.h"
16 
17 class HOM_Point;
18 
19 SWIGOUT(%rename(PopNode) HOM_PopNode;)
20 
21 class HOM_API HOM_PopNode : virtual public HOM_Node
22 {
23 public:
25  : HOM_NetworkMovableItem(HOM_networkItemType::Node)
26  { HOM_CONSTRUCT_OBJECT(this) }
27  HOM_PopNode(const HOM_PopNode &pop_node)
28  : HOM_Node(pop_node),
29  HOM_NetworkMovableItem(pop_node)
30  { HOM_CONSTRUCT_OBJECT(this) }
31  virtual ~HOM_PopNode()
32  { HOM_DESTRUCT_OBJECT(this) }
33 
34  // Let swig know we're overriding __repr__ for this class so it doesn't
35  // provide its own __repr__.
36  SWIGOUT(virtual std::string __repr__() = 0;)
37 
38  SWIGOUT(%newobject curPoint;)
39  virtual HOM_Point *curPoint() = 0;
40 
41  virtual bool isBypassed() = 0;
42  virtual void bypass(bool on) = 0;
43  virtual bool isTemplateFlagSet() = 0;
44  virtual void setTemplateFlag(bool on) = 0;
45  virtual bool isDisplayFlagSet() = 0;
46  virtual void setDisplayFlag(bool on) = 0;
47  virtual bool isRenderFlagSet() = 0;
48  virtual void setRenderFlag(bool on) = 0;
49 
50  SWIGOUT(%newobject displayNode;)
51  virtual HOM_Node *displayNode() = 0;
52  SWIGOUT(%newobject renderNode;)
53  virtual HOM_Node *renderNode() = 0;
54 };
55 
56 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
virtual std::string __repr__()=0
virtual ~HOM_PopNode()
Definition: HOM_PopNode.h:31
HOM_PopNode(const HOM_PopNode &pop_node)
Definition: HOM_PopNode.h:27