Vuo  0.4.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VuoCompilerEdge Class Reference

Description

This class represents one or more cables connecting a pair of nodes (or one node in a feedback loop).

Public Member Functions

VuoCompilerNodegetFromNode (void)
 Returns the node from which this edge is output.
 
VuoCompilerNodegetToNode (void)
 Returns the node to which this edge is input.
 
bool mayConductThroughNode (void)
 Returns true if an event coming into a node through this edge may ever be conducted 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

VuoCompilerNodefromNode
 The node from which this edge is output.
 
VuoCompilerNodetoNode
 The node to which this edge is input.
 
set< pair< VuoCompilerPort
*, VuoCompilerInputEventPort * > > 
cables
 One or more cables comprising this edge.
 

The documentation for this class was generated from the following files: