Vuo  0.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
VuoCable Class Reference

Description

Represents a connection from a node's output port to a node's input port.

Public Member Functions

 VuoCable (VuoNode *fromNode, VuoPort *fromPort, VuoNode *toNode, VuoPort *toPort, bool carriesData)
 Creates a cable from fromNode's fromPort to toNode's toPort.
 
VuoNodegetFromNode (void)
 Returns the node from which this cable is output.
 
VuoPortgetFromPort (void)
 Returns the port from which this cable is output.
 
VuoNodegetToNode (void)
 Returns the node to which this cable is input.
 
VuoPortgetToPort (void)
 Returns the port to which this cable is input.
 
bool getCarriesData (void)
 Returns a boolean indicating whether this cable carries data.
 
void setFrom (VuoNode *fromNode, VuoPort *fromPort)
 Sets the node and port from which this cable is output.
 
void setTo (VuoNode *toNode, VuoPort *toPort)
 Sets the node and port to which this cable is input.
 
string getDeclaration (void)
 Returns a string containing the declaration for this cable as it would appear in a .dot/.vuo file.
 
- Public Member Functions inherited from VuoBase< VuoCompilerCable, VuoRendererCable >
 VuoBase (string id)
 Creates a VuoCable base class.
 
void setCompiler (VuoCompilerCable *compiler)
 Sets the VuoCable base class instance's VuoCompilerCable detail class instance.
 
VuoCompilerCablegetCompiler (void) const
 Returns the VuoCable base class instance's VuoCompilerCable detail class instance.
 
bool hasCompiler (void) const
 Returns true if this base class instance has a compiler detail.
 
void setRenderer (VuoRendererCable *renderer)
 Sets the VuoCable base class instance's VuoRendererCable detail class instance.
 
VuoRendererCablegetRenderer (void) const
 Returns the VuoCable base class instance's VuoRendererCable detail class instance.
 
bool hasRenderer (void) const
 Returns true if this base class instance has a renderer detail.
 

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