Vuo
0.4.2
|
A collection of nodes and the cables connecting them.
Public Member Functions | |
VuoCompilerComposition (VuoComposition *baseComposition, VuoCompilerGraphvizParser *parser) | |
Creates a composition. | |
VuoNode * | getPublishedInputNode (void) |
Returns the psuedo-node that contains the published input ports, or NULL if this composition has no published input ports. | |
VuoNode * | getPublishedOutputNode (void) |
Returns the psuedo-node that contains the published output ports, or NULL if this composition has no published output ports. | |
void | setPublishedInputNode (VuoNode *node) |
Sets the psuedo-node that contains the published input ports. | |
void | setPublishedOutputNode (VuoNode *node) |
Sets the psuedo-node that contains the published output ports. | |
string | getGraphvizDeclaration (string header="", string footer="") |
Returns the .vuo (Graphviz dot format) representation of this composition. | |
string | getGraphvizDeclarationForComponents (set< VuoNode * > nodes, set< VuoCable * > cables, string header="", string footer="", double xPositionOffset=0, double yPositionOffset=0) |
Returns the .vuo (Graphviz dot format) representation of the given nodes and cables in this composition. | |
string | diffAgainstOlderComposition (string oldCompositionGraphvizDeclaration, VuoCompiler *compiler) |
Returns a string representation of a comparison between the old and the current composition. | |
![]() | |
VuoBaseDetail (string description, VuoComposition *base) | |
Creates a VuoComposition detail class. | |
VuoComposition * | getBase (void) const |
Returns the VuoComposition detail class instance's base class instance. | |
void | setBase (VuoComposition *base) |
Sets the VuoComposition detail class instance's base class instance. | |
Static Public Member Functions | |
static VuoCompilerComposition * | newCompositionFromGraphvizDeclaration (const string &compositionGraphvizDeclaration, VuoCompiler *compiler) |
Creates a composition from the Graphviz-formatted string representation of a composition. | |
VuoCompilerComposition::VuoCompilerComposition | ( | VuoComposition * | baseComposition, |
VuoCompilerGraphvizParser * | parser | ||
) |
Creates a composition.
If a non-null parser is provided, the composition is populated from the parser. Otherwise, the composition is empty.