Represents and provides the methods for a cable connecting nodes in the node view.
The cable is the representation of a connection between Ports on a Node, and is useful for tracing the connection between nodes.
Follow a Cable
Public Member Functions | |
OMC::Cable * | insert (const OMC::Node *node, const OMC::inPort *inPort, const OMC::outPort *outPort) |
Insert a node in between the currently connected nodes by this cable. | |
void | unlink () |
Disconnect the cable. | |
Public Attributes | |
OutPort * | source |
Get and set the source port from which this cable is connected. | |
Node * | source_node |
Get and set the source node from which this cable is connected. | |
InPort * | destination |
Get and set the destination port to which this cable is connected. | |
Node * | destination_node |
Get the destination node to which this cable is connected. | |
Node * | source_flat_node |
Get the node from which this cable is connected, ignoring all waypoints, groups and multiports. | |
OMC::Port * | source_flat |
Get the node from which this cable is connected, ignoring all waypoints, groups and multiports. | |