Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

3.2 The Stream Families

The Streams package has five different stream families:

Some concrete classes can be used by themselves, but often they are chained to other stream elements in a processing stream. For instance, each stream family has a synchronized stream that synchronizes individual streaming operations in a multi-threaded environment. The synchronized streams take a handle to the next processing element when constructed. Then each operation invoked on the synchronized stream locks an internal mutex and is forwarded on to the next processing stream element.

For more information on the stream families and their classes, see Section 3.5, "The Streams Package Classes."

3.2.1 Memory Streams

The binary, narrow character, Unicode character, and wide character stream families include memory streams. You can use memory streams to avoid performance problems that occur when the internal buffer needs to be resized, which requires data to be copied. The memory streams use small linked buffers as internal storage.

3.2.2 Interpackage Dependencies

The Streams package depends on the Smart Pointer, Synchronization, Execution Tracing, and Thread-compatible Exception packages of the Advanced Tools Module.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.