A process wrapping a workflow, allowing workflows to be nested
Derive from this class and initialize it with the workflow you would like to have wrapped
The process works by transmitting relevant calls to its underlying workflow, allowing
nodeInsideNestedWorkflow -> thisworkflow.node.plug connections
Workflows are standin nodes - they can connect anything their wrapped nodes can connect
|
_createWrappedWfl(self,
wfldir,
wflname)
Returns:
our wrapped workflow instance as created by a method loading a workflow
from a file |
source code
|
|
Inherited from dgfe.FacadeNodeBase :
__getattr__ ,
clearPlugCache
Inherited from interface.iDuplicatable :
copyTo ,
copyToOther ,
duplicate
Inherited from interface.Interface :
supports
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
_iterNodes(self)
Returns:
generator for nodes that have no output connections or no input connections |
source code
|
|
|
_getNodePlugs(self)
Override the base method, filtering it's output so that only unconnected plugs
will be returned |
source code
|
|
|
createInstance(self,
*args,
**kwargs)
Create a copy of self and return it - required due to our very special constructor |
source code
|
|
Inherited from dgfe.FacadeNodeBase :
copyFrom
|
Inherited from ProcessBase :
supportedTargetTypes ,
targetRating
|
Inherited from ProcessBase :
compute ,
evaluateState
|
|
prepareProcess(self)
As we have different callgraphs, but want proper reports, just swap in the
callgraph of our own workflow to allow it to be maintained correctly when the nodes
of the wrapped graph evaluate. |
source code
|
|
Inherited from dgfe.FacadeNodeBase :
plugs
Inherited from ProcessBase :
workflow
Inherited from dge.NodeBase :
clearCache ,
connections ,
inputPlugs ,
outputPlugs ,
toShell ,
toShells
|
|
__init__(self,
id,
wflInstance=None,
**kwargs)
Will take all important configuration variables from its class variables
- you should override these with your subclass |
source code
|
|
Inherited from dge.NodeBase :
__del__ ,
__str__
|
Inherited from dge.NodeBase :
id ,
setID
|