HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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) }
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  SWIGOUT(%newobject input;)
35  virtual HOM_Node *input() = 0;
36  virtual int inputOutputIndex() = 0;
37 
38  SWIGOUT(%newobject inputItem;)
39  virtual HOM_NetworkMovableItem *inputItem() = 0;
40  virtual int inputItemOutputIndex() = 0;
41 
42  virtual void setColorDefault() = 0;
43  virtual void setUseColorFromOutput(bool use_output_color) = 0;
44  virtual bool useColorFromOutput() = 0;
45  virtual void setSymbolicColorName(const char *name) = 0;
46  virtual std::string symbolicColorName() = 0;
47 };
48 
49 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#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:972
HOM_IndirectInput(const HOM_IndirectInput &input)
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual int inputItemOutputIndex()=0
virtual HOM_NetworkMovableItem * inputItem()=0
virtual ~HOM_IndirectInput()