Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.dataflow.atomic.SimpleFunctionFunction Class Reference
Inheritance diagram for cpc.dataflow.atomic.SimpleFunctionFunction:
cpc.dataflow.atomic.AtomicFunction cpc.dataflow.network_function.NetworkedFunction cpc.dataflow.function.Function cpc.dataflow.description.Describable cpc.dataflow.atomic.ExtendedFunctionFunction

Public Member Functions

def setFunction
 
def writeXML
 
def run
 

Public Attributes

 pyFunction
 
 pyImport
 
 pyFunctionName
 
 stateMsg
 
 state
 
- Public Attributes inherited from cpc.dataflow.atomic.AtomicFunction
 genTasks
 
- Public Attributes inherited from cpc.dataflow.network_function.NetworkedFunction
 network
 
 selfInstance
 
- Public Attributes inherited from cpc.dataflow.function.Function
 name
 
 inputs
 
 outputs
 
 subnetInputs
 
 subnetOutputs
 
 genTasks
 
 log
 
 outputDirWithoutFiles
 
 persistentDir
 
 taskAccessOutputs
 
 taskAccessSubnetOutputs
 
 state
 
 stateMsg
 
 lib
 
- Public Attributes inherited from cpc.dataflow.description.Describable
 desc
 

Additional Inherited Members

- Static Public Attributes inherited from cpc.dataflow.function.Function
tuple ok = FunctionState("ok")
 
tuple error = FunctionState("error")
 

Detailed Description

A function that has a controller that is a queued python function.
   The function takes its input arguments simply as function argmuents, 
   and returns a dict of output values. 
   
   If the function has an output directory, it will be set as the input
   variabale '_outputDir'.

Member Function Documentation

def cpc.dataflow.atomic.SimpleFunctionFunction.run (   self,
  fnInputs 
)
run this function, based on a list of input values.
def cpc.dataflow.atomic.SimpleFunctionFunction.setFunction (   self,
  pyFunctionName,
  importName = None 
)
def cpc.dataflow.atomic.SimpleFunctionFunction.writeXML (   self,
  outFile,
  indent = 0 
)
The function itself does not need to be described.

Member Data Documentation

cpc.dataflow.atomic.SimpleFunctionFunction.pyFunction
cpc.dataflow.atomic.SimpleFunctionFunction.pyFunctionName
cpc.dataflow.atomic.SimpleFunctionFunction.pyImport
cpc.dataflow.atomic.SimpleFunctionFunction.state
cpc.dataflow.atomic.SimpleFunctionFunction.stateMsg

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