next up previous contents index
Next: Object Reification Up: Object Streams Previous: Object Streams

Differences from the Data Stream Model

Object streams are related to simple data streams because both models use the idea of media elements travelling through a set of sources, intermediate processing objects, and sinks. However, in the object-stream model, the elements passed on are first-class objects, whereas in the data-stream model mere pieces of memory are communicated. Such a media element object hides the memory chunk, which contains the media data and which is the basis of the internal state of the object, by offering higher-level abstractions to the processing objects.

It seems advisable to divide the abstractions and functionality between the media element classes on the one hand and the sink and source classes on the other hand according to the following rules:



tspeuker@cip.informatik.uni-erlangen.de