Vuo
0.5.6
|
This class represents one or more cables connecting one node's output ports to another (or the same) node's input ports.
Public Member Functions | |
VuoCompilerPassiveEdge (VuoCompilerNode *fromNode, VuoCompilerNode *toNode, const set< pair< VuoCompilerOutputEventPort *, VuoCompilerInputEventPort * > > &cables) | |
Creates an edge from fromNode to toNode with the specified cables . | |
void | generateTransmission (Module *module, BasicBlock *initialBlock, BasicBlock *finalBlock) |
Generates code to transmit the data (if any) and event (if any) through each cable in this edge. | |
set< VuoCompilerOutputEventPort * > | getOutputPorts (void) |
Returns the output ports attached to cables in this edge. | |
set< VuoCompilerInputEventPort * > | getInputPortsConnectedToOutputPort (VuoCompilerOutputEventPort *outputPort) |
Returns the input ports connected to the given output port by this edge. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
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. | |
VuoCompilerPassiveEdge::VuoCompilerPassiveEdge | ( | VuoCompilerNode * | fromNode, |
VuoCompilerNode * | toNode, | ||
const set< pair< VuoCompilerOutputEventPort *, VuoCompilerInputEventPort * > > & | cables | ||
) |
Creates an edge from fromNode
to toNode
with the specified cables
.
void VuoCompilerPassiveEdge::generateTransmission | ( | Module * | module, |
BasicBlock * | initialBlock, | ||
BasicBlock * | finalBlock | ||
) |
Generates code to transmit the data (if any) and event (if any) through each cable in this edge.
set< VuoCompilerInputEventPort * > VuoCompilerPassiveEdge::getInputPortsConnectedToOutputPort | ( | VuoCompilerOutputEventPort * | outputPort | ) |
Returns the input ports connected to the given output port by this edge.
set< VuoCompilerOutputEventPort * > VuoCompilerPassiveEdge::getOutputPorts | ( | void | ) |
Returns the output ports attached to cables in this edge.