diff --git a/doc/devel/UML/iso_tree.violet b/doc/devel/UML/iso_tree.violet index 9448c1b..85c7237 100644 --- a/doc/devel/UML/iso_tree.violet +++ b/doc/devel/UML/iso_tree.violet @@ -191,8 +191,8 @@ the new files, thus it is suitable for a new session - 1234.6589462905451 - 680.2741699796954 + 1212.7956394939486 + 697.0920982847697 @@ -258,198 +258,12 @@ We don't show the several functions in Dir to manage the tree. 290.59037712396525 - 9.859316379054512 - - - - - - - - FileSourceRegistry - - - - - - 663.3494218736668 - 707.2510088513307 - - - - - - - - A source that read its data from an arbitrary file -descritor. size must be know in advance. - - - - - - 888.4680374315352 - 726.8792924010775 - - - - - - - - The idea of the registry is to keep track -of sources for the same file (to implement -cache inodes, for exampe) - - - - - - 796.4629867976516 - 789.9797974644656 - - - - - - - - TransformSource - - - - - - 465.9331463967205 - 595.4414715712101 + 9.859316379054544 - - - get_size() -read() -open() -close() -is_repeatable() - - - - - «interface» -FileSource - - - - - - 685.9331463967205 - 410.4414715712108 - - - - - - - - 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 - - - - - - - 350.5947306335493 - 803.951562474507 - - - - - - - - filter(in, out) - - - - - «interface» -Filter - - - - - - 274.0746933916357 - 694.5765090198104 - - - - - - - - size : off_t -block : uint32_t - - - - - PreviousImageSource - - - - - - 976.3688193543292 - 599.7669830819689 - - - - - - - - path : char* - - - - - LocalFileSource - - - - - - 674.5900006462128 - 602.9561901969712 - - - - - - - - FilterSource - - - - - - 417.08326112068517 - 711.364573775316 - - - - - «interface» @@ -467,68 +281,148 @@ DataSource - + + + + «interface» +Filters + + + - Filters + filters 260.0 - 660.0 + 710.0 - + + + + 265.45434264405947 + 743.9994422711634 + + + + + - CutOutSource + TransformStream - 533.842712474619 - 706.7077195258237 + 486.9335577265969 + 640.636302316303 - - + + - Reads the contents of local files, both -regular files, symlinks or block devices + CutOutStream - 836.7472580451137 - 493.8376618407349 + 555.9916340674516 + 750.220757440409 - - + + - fd : int -size : off_t + get_size() +read() +open() +close() +is_repeatable() - FdSource + «interface» +Stream - 846.3431457505072 - 599.1219330881966 + 688.5487814157467 + 437.25152600545294 + + + + + + + + FdStream + + + + + + 680.6673668471356 + 637.245696021424 + + + + + + + + FileStream + + + + + + 828.9404615480411 + 642.40096597045 + + + + + + + + FilteredStream + + + + + + 428.449880813367 + 747.5389646099015 + + + + + + + + «interface» +SourceFile + + + + + + 1000.6667341519202 + 639.0812755928229 @@ -590,164 +484,6 @@ size : off_t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -761,21 +497,6 @@ size : off_t - - - - - - - - - - - - 1 src - - - @@ -874,5 +595,131 @@ size : off_t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 src + + + + + diff --git a/doc/devel/UML/iso_tree.violet.png b/doc/devel/UML/iso_tree.violet.png index 225c94f..d445b4f 100644 Binary files a/doc/devel/UML/iso_tree.violet.png and b/doc/devel/UML/iso_tree.violet.png differ diff --git a/doc/devel/UML/stream.violet b/doc/devel/UML/stream.violet index a82f0c1..d488940 100644 --- a/doc/devel/UML/stream.violet +++ b/doc/devel/UML/stream.violet @@ -292,17 +292,18 @@ to the contents of another stream. - + - SourceFile + «interface» +SourceFile - 886.7119036079306 - 251.73001410241085 + 920.6530291048848 + 248.90158697766475 @@ -465,18 +466,6 @@ to the contents of another stream. - - - - - - - - - - - - @@ -487,5 +476,17 @@ to the contents of another stream. + + + + + + + + + + + +