Vuo  0.5.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoCompilerTriggerEdge Class Reference

Description

This class represents one or more cables connecting one node's trigger port to another (or the same) node's input ports.

Public Member Functions

 VuoCompilerTriggerEdge (VuoCompilerNode *fromNode, VuoCompilerNode *toNode, VuoCompilerTriggerPort *fromTrigger, const set< VuoCompilerInputEventPort * > &toPorts)
 Creates an edge from the fromTrigger on fromNode to toPorts on toNode.
 
void generateTransmission (Module *module, BasicBlock *block, Value *triggerDataValue)
 Generates code to transmit the data (if any) and an event through each cable in this edge.
 
VuoCompilerTriggerPortgetTrigger (void)
 Returns the trigger port in this edge.
 
set< VuoCompilerInputEventPort * > getInputPorts (void)
 Returns the input ports connected to the trigger port by this edge.
 
- Public Member Functions inherited from VuoCompilerEdge
VuoCompilerNodegetFromNode (void)
 Returns the node from which this edge is output.
 
VuoCompilerNodegetToNode (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

- Protected Member Functions inherited from VuoCompilerEdge
 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 inherited from VuoCompilerEdge
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.
 

Constructor & Destructor Documentation

VuoCompilerTriggerEdge::VuoCompilerTriggerEdge ( VuoCompilerNode fromNode,
VuoCompilerNode toNode,
VuoCompilerTriggerPort fromTrigger,
const set< VuoCompilerInputEventPort * > &  toPorts 
)

Creates an edge from the fromTrigger on fromNode to toPorts on toNode.

Member Function Documentation

void VuoCompilerTriggerEdge::generateTransmission ( Module *  module,
BasicBlock *  block,
Value *  triggerDataValue 
)

Generates code to transmit the data (if any) and an event through each cable in this edge.

set< VuoCompilerInputEventPort * > VuoCompilerTriggerEdge::getInputPorts ( void  )

Returns the input ports connected to the trigger port by this edge.

VuoCompilerTriggerPort * VuoCompilerTriggerEdge::getTrigger ( void  )

Returns the trigger port in this edge.


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