Node having no own plugs, but retrieves them by querying other other nodes
and claiming its his own ones.
Using a non-default shell it is possibly to guide all calls through to the
virtual PlugShell.
Derived classes must override _plugshells which will be queried when
plugs or plugshells are requested. This node will cache the result and do
everything required to integrate itself.
It lies in the nature of this class that the plugs are dependent on a specific instance
of this node, thus classmethods of NodeBase have been overridden with instance versions
of it.
The facade node keeps a plug map allowing it to map plug-shells it got from
you back to the original shell respectively. If the map has been missed,
your node will be asked for information.
|
__getattr__(self,
attr)
Returns:
shell on attr made from our plugs - we do not have real ones, so we
need to call plugs and find it by name |
source code
|
|
|
clearPlugCache(self)
if a cache has been build as caching is enabled, this method clears
the cache forcing it to be updated on the next demand |
source code
|
|
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__
|
|
_getNodePlugs(self)
Implement this as if it was your plugs method - it will be called by the
base - your result needs processing before it can be returned |
source code
|
|
|
|
Inherited from dge.NodeBase :
__del__ ,
__str__
|
|
copyFrom(self,
other,
**kwargs)
Actually, it does nothing because our plugs are linked to the internal
nodes in a quite complex way. |
source code
|
|
Inherited from dge.NodeBase :
createInstance
|
Inherited from dge.NodeBase :
compute
|
Inherited from dge.NodeBase :
id ,
setID
|
|
|
Inherited from dge.NodeBase :
clearCache ,
connections ,
inputPlugs ,
outputPlugs ,
toShell ,
toShells
|