StreamManager Objects

A stream manager contains all streams being managed by the session.

s.getCurrentProcessorDiagram() : Diagram

Returns the current diagram or None if there are no streams currently being managed. The current diagram will always be the same object as, or a child of, the current stream.

s.getCurrentProcessorStream() : Stream

Returns the current stream or None. Note that the current stream may not be the same as the current diagram.

s.getProcessorStreamAt(index) : Stream
index (int) : 

Returns the stream at the specified index.

s.getProcessorStreamCount() : int

Returns the number of streams being managed.

s.getProcessorStreamForID(id) : Stream

id (string) : the stream ID

Returns the stream with the specified ID or None if no such stream can be found.

s.removeAll()

Removes all streams from the manager. Any unsaved changes to the streams will be lost.