Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Functions | Variables
IGR.graph Namespace Reference

Complete program. More...

Functions

def addSubGraph
 Add a subgraph to the program. More...
 
def bindName
 Add a subgraph to a given name. More...
 
def getSubGraphs
 Get a list of all the non-compound subgraphs in the program. More...
 
def getSubGraph
 Get a subgraph by name. More...
 
def removeSubGraph
 Remove a subgraph from the program. More...
 

Variables

list __SUBGRAPHS__ = []
 All of the functions in the program. More...
 
dictionary __FUNCTION_NAMES__ = {}
 The function names, combined with the subgraph they map to. More...
 

Detailed Description

Complete program.

This defines the complete program graph. All of the subgraphs as well as their names can be found here.

This file also defines a few top level functions that facilitate adding nodes, ports and literals to the IGR.

Function Documentation

def IGR.graph.addSubGraph (   subGraph)

Add a subgraph to the program.

Parameters
subGraphThe subgraph to add.
def IGR.graph.bindName (   graph)

Add a subgraph to a given name.

Parameters
graphThe graph to add. It's name field will be used to retrieve it.
def IGR.graph.getSubGraphs ( )

Get a list of all the non-compound subgraphs in the program.

Returns
All the non compound subgraphs in the program.
def IGR.graph.getSubGraph (   name)

Get a subgraph by name.

Parameters
nameThe name of the subgraph we want to retrieve.
Returns
The subgraph
def IGR.graph.removeSubGraph (   subGraph)

Remove a subgraph from the program.

This only works for subgraphs that are not a part of a compound node. Care should be taken to avoid calling this method while iterating over the subgraph list.

Parameters
subGraphA reference to the subgraph to remove.

Variable Documentation

list IGR.graph.__SUBGRAPHS__ = []

All of the functions in the program.

dictionary IGR.graph.__FUNCTION_NAMES__ = {}

The function names, combined with the subgraph they map to.