HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LOP_SubNet.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  * NAME: LOP Library (C++)
7  *
8  */
9 
10 #ifndef __LOP_SubNet_h__
11 #define __LOP_SubNet_h__
12 
13 #include "LOP_API.h"
14 #include "LOP_Node.h"
15 
16 class LOP_API LOP_SubNet : public LOP_Node
17 {
18 public:
19  // Standard OP_Network stuff:
20  static const char *theChildTableName;
21  static OP_Node *myConstructor(OP_Network *net, const char *name,
22  OP_Operator *entry);
23  static PRM_Template myTemplateList[];
24 
25  unsigned getNumVisibleOutputs() const override;
26 
27 protected:
28  LOP_SubNet(OP_Network *parent, const char *name,
29  OP_Operator *entry);
30  ~LOP_SubNet() override;
31 
32  void addNode(OP_Node *node, int notify = 1,
33  int explicitly = 1) override;
34  void childDeleted(OP_Node *child) override;
35  void childFlagChange(OP_Node *child) override;
36 
37  OP_ERROR cookMyLop(OP_Context &context) override;
38 };
39 
40 #endif
void childFlagChange(OP_Node *nodeptr) override
UT_ErrorSeverity
Definition: UT_Error.h:25
virtual unsigned getNumVisibleOutputs() const
virtual void childDeleted(OP_Node *)
#define LOP_API
Definition: LOP_API.h:10
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual void addNode(OP_Node *node, int notify=1, int explicitly=1)
static const char * theChildTableName
Definition: LOP_SubNet.h:20
virtual OP_ERROR cookMyLop(OP_Context &context)=0