comparison document/Document.h @ 127:fbd09fcda469

* doc updates
author Chris Cannam
date Fri, 30 Mar 2007 17:16:48 +0000
parents 99d65ba33c88
children 98ba77e0d897
comparison
equal deleted inserted replaced
126:8d31c8e9c820 127:fbd09fcda469
35 * layers and their layout need to be stored and managed in much the 35 * layers and their layout need to be stored and managed in much the
36 * same way as changes to the underlying data. 36 * same way as changes to the underlying data.
37 * 37 *
38 * The document manages: 38 * The document manages:
39 * 39 *
40 * -- A main data model, which provides the underlying sample rate and 40 * - A main data Model, which provides the underlying sample rate and
41 * such like. This must be a wave file model. 41 * such like. This must be a WaveFileModel.
42 * 42 *
43 * -- Any number of imported models, which contain data without any 43 * - Any number of imported Model objects, which contain data without any
44 * requirement to remember where the data came from or how to 44 * requirement to remember where the data came from or how to
45 * regenerate it. 45 * regenerate it.
46 * 46 *
47 * -- Any number of models generated by transforms such as feature 47 * - Any number of Model objects that were generated by a Transform
48 * extraction plugins. For these, we also record the source model and 48 * such as FeatureExtractionPluginTransform. For these, we also
49 * the name of the transform used to generate the model so that we can 49 * record the source model and the name of the transform used to
50 * regenerate it (potentially from a different source) on demand. 50 * generate the model so that we can regenerate it (potentially
51 * from a different source) on demand.
51 * 52 *
52 * -- A flat list of layers. Elsewhere, the GUI may distribute these 53 * - A flat list of Layer objects. Elsewhere, the GUI may distribute these
53 * across any number of view widgets. A layer may be viewable on more 54 * across any number of View widgets. A layer may be viewable on more
54 * than one view at once, in principle. A layer refers to one model, 55 * than one view at once, in principle. A layer refers to one model,
55 * but the same model can be in use in more than one layer. 56 * but the same model can be in use in more than one layer.
56 * 57 *
57 * The document does *not* manage the existence or structure of Pane 58 * The document does *not* manage the existence or structure of Pane
58 * and other view widgets. However, it does provide convenience 59 * and other view widgets. However, it does provide convenience