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. | |
VuoCompilerEnvironment * | getEnvironment (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 VuoDependencyGraphVertex * | vertexForDependency (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). | |
string VuoDependencyGraphVertex::getDependency | ( | void | ) |
Returns the module key of this module/subcomposition.
Definition at line 34 of file VuoDependencyGraphVertex.cc.
VuoCompilerEnvironment * VuoDependencyGraphVertex::getEnvironment | ( | void | ) |
Returns the value set by VuoDependencyGraphVertex::setEnvironment().
Definition at line 42 of file VuoDependencyGraphVertex.cc.
|
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.
void VuoDependencyGraphVertex::setEnvironment | ( | VuoCompilerEnvironment * | environment | ) |
Stores the environment that this module/subcomposition belongs to.
Definition at line 50 of file VuoDependencyGraphVertex.cc.
|
static |
Finds the vertex for dependency in graph if the vertex exists, otherwise creates it (but does not add it to graph).
dependency | The module key of the module/subcomposition. |
graph | The dependency graph in which to search. |
Definition at line 18 of file VuoDependencyGraphVertex.cc.