Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.dataflow.network.Network Class Reference
Inheritance diagram for cpc.dataflow.network.Network:
cpc.dataflow.active_network.ActiveNetwork

Public Member Functions

def addInstance
 
def getInstance
 
def findConnectionSrcDest
 
def addConnection
 
def removeConnection
 
def getInstances
 
def writeXML
 

Public Attributes

 instances
 
 connections
 

Detailed Description

The class describing running a function network. A function network is a 
   network of connected function instances, with a list of inputs and 
   outputs. 

Member Function Documentation

def cpc.dataflow.network.Network.addConnection (   self,
  conn,
  source 
)
Connect a connection within the network. 
def cpc.dataflow.network.Network.addInstance (   self,
  instance 
)
Add a function instance to the network.
   instance = the function instance object.
def cpc.dataflow.network.Network.findConnectionSrcDest (   self,
  conn,
  affectedInputAIs,
  affectedOutputAIs 
)
Non-active networks have no active instances.
def cpc.dataflow.network.Network.getInstance (   self,
  name 
)
def cpc.dataflow.network.Network.getInstances (   self)
def cpc.dataflow.network.Network.removeConnection (   self,
  conn 
)
Remove a connection.
def cpc.dataflow.network.Network.writeXML (   self,
  outFile,
  indent = 0 
)
Write an XML description of the network.

Member Data Documentation

cpc.dataflow.network.Network.connections
cpc.dataflow.network.Network.instances

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