Vuo
0.6.1
|
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 | mayTransmitThroughNode (void) |
Returns true if an event coming into a node through this edge may ever be transmitted to the node's output ports. | |
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 | |
void | generateTransmissionThroughCable (Module *module, BasicBlock *block, Value *outputDataValue, VuoCompilerInputEventPort *inputEventPort) |
Generates code to transmit the data (if any) and an event from an output port to an input port. | |
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. | |
|
protected |
Creates an edge from fromNode
to toNode
.
|
protectedvirtual |
to make this class dynamic_cast-able
|
protected |
Generates code to transmit the data (if any) and an event from an output port to an input port.
VuoCompilerNode * VuoCompilerEdge::getFromNode | ( | void | ) |
Returns the node from which this edge is output.
VuoCompilerNode * VuoCompilerEdge::getToNode | ( | void | ) |
Returns the node to which this edge is input.
bool VuoCompilerEdge::mayTransmitThroughNode | ( | void | ) |
Returns true if an event coming into a node through this edge may ever be transmitted to the node's output ports.
|
protected |
One or more cables comprising this edge.
|
protected |
The node from which this edge is output.
|
protected |
The node to which this edge is input.