cutcutcodec.core.classes.stream.StreamWrapper
- class cutcutcodec.core.classes.stream.StreamWrapper(node, index: Integral)[source]
Allow to dynamically transfer the methods of an instanced stream.
Attribute
- streamcutcutcodec.core.classes.stream.Stream
The stream containing the properties to be transferred (readonly). This stream is one of the input streams of the parent node.
Initialise and create the class.
Parameters
- nodecutcutcodec.core.classes.node.Node
The parent node, transmitted to
cutcutcodec.core.classes.stream.Stream.- indexnumber.Integral
The index of the stream among all the input streams of the
node. 0 for the first, 1 for the second …
- property duration: Fraction | float
Return the duration of the flow in seconds, positive fraction or infinite.