This class represents one or more cables connecting a pair of nodes (or one node in a feedback loop).
Public Member Functions | |
VuoCompilerNode * | getFromNode (void) |
Returns the node from which this edge is output. | |
VuoCompilerNode * | getToNode (void) |
Returns the node to which this edge is input. | |
bool | mayPushOutEdge (VuoCompilerEdge *outEdge) |
Returns true if a push to this edge may ever be conducted through its destination node to the given out-edge. | |
Protected Member Functions | |
VuoCompilerEdge (VuoCompilerNode *fromNode, VuoCompilerNode *toNode) | |
Creates an edge from fromNode to toNode . | |
virtual | ~VuoCompilerEdge (void) |
to make this class dynamic_cast-able | |
Protected Attributes | |
VuoCompilerNode * | fromNode |
The node from which this edge is output. | |
VuoCompilerNode * | toNode |
The node to which this edge is input. | |
set< pair< VuoCompilerPort *, VuoCompilerInputEventPort * > > | cables |
One or more cables comprising this edge. | |
bool VuoCompilerEdge::mayPushOutEdge | ( | VuoCompilerEdge * | outEdge | ) |
Returns true if a push to this edge may ever be conducted through its destination node to the given out-edge.
Assumes this->toNode == outEdge->fromNode.