Vuo 2.4.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
VuoDependencyGraphVertex Class Reference

Description

A vertex representing a module or subcomposition in a composition's dependency graph.

Definition at line 18 of file VuoDependencyGraphVertex.hh.

Public Member Functions

string getDependency (void)
 Returns the module key of this module/subcomposition.
 
VuoCompilerEnvironmentgetEnvironment (void)
 Returns the value set by VuoDependencyGraphVertex::setEnvironment().
 
void setEnvironment (VuoCompilerEnvironment *environment)
 Stores the environment that this module/subcomposition belongs to.
 
string key (void)
 Returns the module key of this module/subcomposition (as the unique identifier used by VuoDirectedAcyclicGraph).
 

Static Public Member Functions

static VuoDependencyGraphVertexvertexForDependency (const string &dependency, VuoDirectedAcyclicGraph *graph)
 Finds the vertex for dependency in graph if the vertex exists, otherwise creates it (but does not add it to graph).
 

Member Function Documentation

◆ getDependency()

string VuoDependencyGraphVertex::getDependency ( void  )

Returns the module key of this module/subcomposition.

Definition at line 34 of file VuoDependencyGraphVertex.cc.

◆ getEnvironment()

VuoCompilerEnvironment * VuoDependencyGraphVertex::getEnvironment ( void  )

Returns the value set by VuoDependencyGraphVertex::setEnvironment().

Definition at line 42 of file VuoDependencyGraphVertex.cc.

◆ key()

string VuoDependencyGraphVertex::key ( void  )
virtual

Returns the module key of this module/subcomposition (as the unique identifier used by VuoDirectedAcyclicGraph).

Implements VuoDirectedAcyclicGraph::Vertex.

Definition at line 58 of file VuoDependencyGraphVertex.cc.

◆ setEnvironment()

void VuoDependencyGraphVertex::setEnvironment ( VuoCompilerEnvironment environment)

Stores the environment that this module/subcomposition belongs to.

Definition at line 50 of file VuoDependencyGraphVertex.cc.

◆ vertexForDependency()

VuoDependencyGraphVertex * VuoDependencyGraphVertex::vertexForDependency ( const string &  dependency,
VuoDirectedAcyclicGraph graph 
)
static

Finds the vertex for dependency in graph if the vertex exists, otherwise creates it (but does not add it to graph).

Parameters
dependencyThe module key of the module/subcomposition.
graphThe dependency graph in which to search.

Definition at line 18 of file VuoDependencyGraphVertex.cc.


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