HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DOP_SubNetOutput.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: DOP_SubNetOutput.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __DOP_SubNetOutput_h__
12 #define __DOP_SubNetOutput_h__
13 
14 #include "DOP_API.h"
15 #include "DOP_Node.h"
16 
18 {
19 public:
20  DOP_SubNetOutput(OP_Network *net, const char *name, OP_Operator *op);
21  ~DOP_SubNetOutput() override;
22 
23  const char *inputLabel(unsigned idx) const override;
24  int isRefInput(unsigned i) const override;
25 
26  static OP_Node *myConstructor(OP_Network *net, const char *name,
27  OP_Operator *entry);
28  static PRM_Template myTemplateList[];
29 
30  int whichOutputNode() const override final;
31 
32 protected:
33  bool updateParmsFlags() override;
34 
35  /// Cooking a DOP_SubNetOutput verifies we have unique output numbers
36  OP_ERROR cookMe(OP_Context &) override;
37 
38  void processObjectsSubclass(fpreal time,
39  int foroutputidx,
40  const SIM_ObjectArray &objects,
41  DOP_Engine &engine) override;
42  void applyOutputDataSubclass(fpreal time,
43  int outputidx,
44  SIM_RootData &rootdata,
45  const char *parentdataname,
46  DOP_Engine &engine,
47  UT_StringArray *datanames) override;
48  void getInputInfoSubclass(int inputidx,
49  DOP_InOutInfo &info) const override;
50  void getOutputInfoSubclass(int outputidx,
51  DOP_InOutInfo &info) const override;
52  void getRequiredOutputsSubclass(fpreal time,
53  int foroutputidx,
54  UT_Array<DOP_Output> &outputs,
55  const DOP_Engine &engine) override;
56  void getDescriptiveName(
57  UT_String &name) const override final;
58 
59 private:
60  int OUTPUTIDX(fpreal time);
61 };
62 
63 #endif
GT_API const UT_StringHolder time
UT_ErrorSeverity
Definition: UT_Error.h:25
const char * inputLabel(unsigned idx) const override
REturn text describing a particular input.
#define DOP_API
Definition: DOP_API.h:10
Holds pointers to a number of SIM_Object objects.
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual int whichOutputNode() const
fpreal64 fpreal
Definition: SYS_Types.h:277
This is the base class for all DOP nodes.
Definition: DOP_Node.h:77
virtual int isRefInput(unsigned idx) const