1tcl::transform::identityR(enf)lected/virtual channel suptpcolr:t:transform::identity(n)
2
3
4
5______________________________________________________________________________
6
8 tcl::transform::identity - Identity transformation
9
11 package require Tcl 8.6
12
13 package require tcl::transform::core ?1?
14
15 package require tcl::transform::identity ?1?
16
17 ::tcl::transform::identity chan
18
19______________________________________________________________________________
20
22 The tcl::transform::identity package provides a command creating an
23 identity channel transformation, which does nothing but pass the read
24 and written bytes through it unchanged. Not really useful in an appli‐
25 cation, however as the prototypical observer transformation its code is
26 a useful starting point for any other observers people may wish to
27 write.
28
29 The transformations in this module which derived from identity's code
30 are tcl::transform::adler32, tcl::transform::counter, tcl::trans‐
31 form::crc32, and tcl::transform::observe.
32
33 The internal TclOO class implementing the transform handler is a sub-
34 class of the tcl::transform::core framework.
35
37 ::tcl::transform::identity chan
38 This command creates an identity transformation on top of the
39 channel chan and returns its handle.
40
42 This document, and the package it describes, will undoubtedly contain
43 bugs and other problems. Please report such in the category virtchan‐
44 nel of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].
45 Please also report any ideas for enhancements you may have for either
46 package and/or documentation.
47
48 When proposing code changes, please provide unified diffs, i.e the out‐
49 put of diff -u.
50
51 Note further that attachments are strongly preferred over inlined
52 patches. Attachments can be made by going to the Edit form of the
53 ticket immediately after its creation, and then using the left-most
54 button in the secondary navigation bar.
55
57 channel transformation, identity, reflected channel, tip 230, transfor‐
58 mation, virtual channel
59
61 Channels
62
64 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
65
66
67
68
69tcllib 1 tcl::transform::identity(n)