#include <corenodes_instances.h>

CoreNodeInstanceInterface is an instance of a core node within a core node group. Such an instance is created whenever you add a core node as a child to a group:
Private Member Functions | |
| MAXON_INTERFACE_NONVIRTUAL_DERIVED (CoreNodeInstanceInterface, MAXON_REFERENCE_POINTER, "net.maxon.corenode.interface.corenodeinstance") | |
| MAXON_METHOD Result< Int > | ExportImpl (const PortId &port, const PortId &parentPort, WIRETYPE wires) |
Additional Inherited Members | |
Static Public Member Functions inherited from CoreNodeInstanceBaseInterface | |
| static MAXON_METHOD Result< BaseArray< const CoreNodeInstanceBaseInterface * > > | GetInstancePath (const NodeHandle *handle) |
| static MAXON_METHOD String | PrivateNodeHandleToString (const NodeHandle *handle, const FormatStatement *fs) |
|
private |
| MAXON_FUNCTION const CoreNodeGroupInterface* GetParentGroup | ( | ) | const |
Returns the core node group to which this core node instance belongs.
| MAXON_FUNCTION CoreNodeGroupInterface* GetParentGroup | ( | ) |
Returns the core node group to which this core node instance belongs.
| MAXON_METHOD const CoreNode& GetBase | ( | ) | const |
Returns the core node of which this object is an instance.
| MAXON_METHOD Result<void> Connect | ( | const OutPortId & | outport, |
| CoreNodeInstanceInterface * | dest, | ||
| const InPortId & | inport, | ||
| WIRETYPE | wires = WIRETYPE::DOMAIN_FLOW_VALUE|WIRETYPE::SEQUENCED|WIRETYPE::STATE |
||
| ) |
Connects the outport of this instance to the inport of dest. To connect a port of this instance with a port of its enclosing group, use Export().
| [in] | outport | An output port of this core node instance. |
| [in] | dest | Another core node instance within the same core node group. |
| [in] | inport | An input port of dest. |
| [in] | wires | The wires to use for the connection. Already existing wires aren't changed. Wires which aren't supported by both ports are ignored. |
| MAXON_FUNCTION Result<InPortId> Export | ( | const InPortId & | inport, |
| const InPortId & | parentPort = InPortId::NullValue(), |
||
| WIRETYPE | wires = WIRETYPE::DEFAULT_INPUT |
||
| ) |
Exports the given input port of this instance to a port of the enclosing group. If parentPort is given by a name for which there is no port yet, a corresponding port is created at the enclosing group. If parentPort is empty or has an empty name, the name of inport is used instead of parentPort.
| [in] | inport | An input port of this core node instance. |
| [in] | parentPort | A port of the enclosing group. If empty, the name of inport is used instead. |
| [in] | wires | The wires to use for the export connection. Already existing wires aren't changed. Wires which aren't supported by inport are ignored. |
| MAXON_FUNCTION Result<OutPortId> Export | ( | const OutPortId & | outport, |
| const OutPortId & | parentPort = OutPortId::NullValue(), |
||
| WIRETYPE | wires = WIRETYPE::DEFAULT_OUTPUT |
||
| ) |
Exports the given output port of this instance to a port of the enclosing group. If parentPort is given by a name for which there is no port yet, a corresponding port is created at the enclosing group. If parentPort is empty or has an empty name, the name of outport is used instead of parentPort.
| [in] | outport | An output port of this core node instance. |
| [in] | parentPort | A port of the enclosing group. If empty, the name of outport is used instead. |
| [in] | wires | The wires to use for the export connection. Already existing wires aren't changed. Wires which aren't supported by outport are ignored. |