diff --git a/doc/devel/UML/stream.violet b/doc/devel/UML/stream.violet new file mode 100644 index 0000000..a82f0c1 --- /dev/null +++ b/doc/devel/UML/stream.violet @@ -0,0 +1,491 @@ + + + + + + + + TransformStream + + + + + + 374.71280028618764 + 246.7337520453866 + + + + + + + + get_size() +read() +open() +close() +is_repeatable() + + + + + «interface» +Stream + + + + + + 576.3280239753375 + 43.34897573453627 + + + + + + + + FileStream + + + + + + 741.9465965652432 + 246.8166228690261 + + + + + + + + + + CompressionFilter + + + + + + + + + EncryptionFilter + + + + + + + + + ExtAppFilter + + + + + + + + + filter(in, out) + + + + + «interface» +Filter + + + + + + Filters + + + + + 270.0 + 480.0 + + + + + + + + A Stream to read data from an abstract +file represented by a SourceFile + + + + + + 781.6101730552666 + 137.2161620284267 + + + + + + + + A stream to get data from an arbitrary file +descritor. size must be know in advance. + + + + + + 580.8730162779191 + 392.3137084989848 + + + + + + + + fd : int +size : off_t + + + + + FdStream + + + + + + 565.61818228198 + 253.24264068711926 + + + + + + + + 281.2426406871193 + 620.6274169979695 + + + + + + + + 429.51546936508925 + 624.9910026589843 + + + + + + + + 568.2426406871186 + 624.6274169979695 + + + + + + + + A Filter do a tranformation on a stream of data. +The main difference with TransformSources is that +a Filter can be applied to several sources. +NOTES: +- filter() method still to define +- A filter_changes_size() method can be useful + + + + + + + 724.6274169979696 + 510.3015151901651 + + + + + + + + FilteredStream + + + + + + 439.0 + 357.0 + + + + + + + + size : off_t +lba: off_t + + + + + CutOutStream + + + + + + 321.0 + 358.0 + + + + + + + + This can be implemented as a Filter, but +it has no sense to have the same cut out +filter to several sources, so this is a better +place. + + + + + + 67.0 + 276.0 + + + + + + + + A stream that applies some transformation +to the contents of another stream. + + + + + + 122.0 + 183.0 + + + + + + + + 437.57046683437824 + 509.23933115391503 + + + + + + + + SourceFile + + + + + + 886.7119036079306 + 251.73001410241085 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/devel/UML/stream.violet.png b/doc/devel/UML/stream.violet.png new file mode 100644 index 0000000..f5215a5 Binary files /dev/null and b/doc/devel/UML/stream.violet.png differ