HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_IndirectInput.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_IndirectInput_h__
10 #define __HOM_IndirectInput_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_NetworkMovableItem.h"
14 #include "HOM_PtrOrNull.h"
15 
16 class HOM_NodeConnection;
17 
18 SWIGOUT(%rename(IndirectInput) HOM_IndirectInput;)
19 
21 {
22 public:
23  HOM_IndirectInput(HOM_EnumValue &network_item_type)
24  : HOM_NetworkMovableItem(network_item_type)
25  { HOM_CONSTRUCT_OBJECT(this) }
27  : HOM_NetworkMovableItem(input)
28  { HOM_CONSTRUCT_OBJECT(this) }
29  ~HOM_IndirectInput() override
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual std::vector<HOM_ElemPtr<HOM_Node> > outputs() = 0;
33  virtual std::vector<HOM_ElemPtr<HOM_NodeConnection> > outputConnections() = 0;
34 
35  SWIGOUT(%newobject input;)
36  SWIGOUT(%warnfilter(321) input;)
37  virtual HOM_Node *input() = 0;
38  virtual int inputOutputIndex() = 0;
39 
40  SWIGOUT(%newobject inputItem;)
41  virtual HOM_NetworkMovableItem *inputItem() = 0;
42  virtual int inputItemOutputIndex() = 0;
43 
44  virtual void setColorDefault() = 0;
45  virtual void setUseColorFromOutput(bool use_output_color) = 0;
46  virtual bool useColorFromOutput() = 0;
47  virtual void setSymbolicColorName(const char *name) = 0;
48  virtual std::string symbolicColorName() = 0;
49 };
50 
51 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_IndirectInput(HOM_EnumValue &network_item_type)
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HOM_IndirectInput(const HOM_IndirectInput &input)
~HOM_IndirectInput() override
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual int inputItemOutputIndex()=0
virtual HOM_NetworkMovableItem * inputItem()=0