Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.dataflow.instance.Instance Class Reference
Inheritance diagram for cpc.dataflow.instance.Instance:
cpc.dataflow.network_function.SelfInstance

Public Member Functions

def copy
 
def markImplicit
 
def isImplicit
 
def getName
 
def setName
 
def getFunction
 
def getFullFnName
 
def setLib
 
def getInputs
 
def getOutputs
 
def getSubnetInputs
 
def getSubnetOutputs
 
def getInputConnections
 
def getOutputConnections
 
def getSubnetInputConnections
 
def getSubnetOutputConnections
 
def addInputConnection
 
def addSubnetInputConnection
 
def addOutputConnection
 
def addSubnetOutputConnection
 
def removeOutputConnection
 
def removeInputConnection
 
def getSubnet
 
def writeXML
 

Public Attributes

 name
 
 function
 
 fullFnName
 
 inputConns
 
 outputConns
 
 subnetInputConns
 
 subnetOutputConns
 
 implicit
 
 inputs
 
 outputs
 
 subnetInputs
 
 subnetOutputs
 
 lib
 

Detailed Description

The class describing a function instance in a function network. 
   An instance is a connected function in a network.  

Member Function Documentation

def cpc.dataflow.instance.Instance.addInputConnection (   self,
  conn,
  isDst 
)
Set an input connection, possibly replacing an existing input
   connection with that input name.
def cpc.dataflow.instance.Instance.addOutputConnection (   self,
  conn,
  isDst 
)
Add an output connection.
def cpc.dataflow.instance.Instance.addSubnetInputConnection (   self,
  conn,
  isDst 
)
Set an input connection, possibly replacing an existing input
   connection with that input name.
def cpc.dataflow.instance.Instance.addSubnetOutputConnection (   self,
  conn,
  isDst 
)
Add an output connection.
def cpc.dataflow.instance.Instance.copy (   self)
Return a copy of this instance with its own copied types.
def cpc.dataflow.instance.Instance.getFullFnName (   self)
Get the full (including module names) function name.
def cpc.dataflow.instance.Instance.getFunction (   self)
Get the function.
def cpc.dataflow.instance.Instance.getInputConnections (   self)
Get an input connnection by name, or None when not connected.
def cpc.dataflow.instance.Instance.getInputs (   self)
Get instance-specific inputs
def cpc.dataflow.instance.Instance.getName (   self)
Get the instance name (id).
def cpc.dataflow.instance.Instance.getOutputConnections (   self)
Get list of output connnections by name, or empty list when 
   not connected.
def cpc.dataflow.instance.Instance.getOutputs (   self)
Get instance-specific outputs
def cpc.dataflow.instance.Instance.getSubnet (   self)
Get any subnetwork associated with this instance.
def cpc.dataflow.instance.Instance.getSubnetInputConnections (   self)
Get an input connnection by name, or None when not connected.
def cpc.dataflow.instance.Instance.getSubnetInputs (   self)
Get instance-specific subnet inputs
def cpc.dataflow.instance.Instance.getSubnetOutputConnections (   self)
Get list of output connnections by name, or empty list when 
   not connected.
def cpc.dataflow.instance.Instance.getSubnetOutputs (   self)
Get instance-specific subnet outputs
def cpc.dataflow.instance.Instance.isImplicit (   self)
Return whether this instance is automatically generated.
def cpc.dataflow.instance.Instance.markImplicit (   self)
Mark this instance as automatically generated. If marked, the 
   instance will not be written out when an XML state file is 
   written.
def cpc.dataflow.instance.Instance.removeInputConnection (   self,
  conn 
)
Remove an output connection.
def cpc.dataflow.instance.Instance.removeOutputConnection (   self,
  conn 
)
Remove an output connection.
def cpc.dataflow.instance.Instance.setLib (   self,
  lib 
)
def cpc.dataflow.instance.Instance.setName (   self,
  name 
)
Set the instance name (id).
def cpc.dataflow.instance.Instance.writeXML (   self,
  outf,
  indent = 0 
)

Member Data Documentation

cpc.dataflow.instance.Instance.fullFnName
cpc.dataflow.instance.Instance.function
cpc.dataflow.instance.Instance.implicit
cpc.dataflow.instance.Instance.inputConns
cpc.dataflow.instance.Instance.inputs
cpc.dataflow.instance.Instance.lib
cpc.dataflow.instance.Instance.name
cpc.dataflow.instance.Instance.outputConns
cpc.dataflow.instance.Instance.outputs
cpc.dataflow.instance.Instance.subnetInputConns
cpc.dataflow.instance.Instance.subnetInputs
cpc.dataflow.instance.Instance.subnetOutputConns
cpc.dataflow.instance.Instance.subnetOutputs

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