Mercurial > hg > svcore
comparison data/model/Model.h @ 1761:ee7fd2c01d87 by-id
Work on management of alignment-related models
author | Chris Cannam |
---|---|
date | Fri, 12 Jul 2019 13:57:42 +0100 |
parents | 8529763e2258 |
children | aa0b56d72f27 |
comparison
equal
deleted
inserted
replaced
1760:9945ad04c174 | 1761:ee7fd2c01d87 |
---|---|
198 virtual void setSourceModel(ModelId model); | 198 virtual void setSourceModel(ModelId model); |
199 | 199 |
200 /** | 200 /** |
201 * Specify an alignment between this model's timeline and that of | 201 * Specify an alignment between this model's timeline and that of |
202 * a reference model. The alignment model, of type AlignmentModel, | 202 * a reference model. The alignment model, of type AlignmentModel, |
203 * records both the reference and the alignment. This model "takes | 203 * records both the reference and the alignment. |
204 * ownership" of alignmentModel, in that we take responsibility | |
205 * for calling ModelById::release() for it from our own destructor | |
206 * (no other class needs to know about the alignment model). | |
207 | |
208 *!!! I don't think the above is a good idea - I think document | |
209 should record alignment models and release them | |
210 */ | 204 */ |
211 virtual void setAlignment(ModelId alignmentModel); | 205 virtual void setAlignment(ModelId alignmentModel); |
212 | 206 |
213 /** | 207 /** |
214 * Retrieve the alignment model for this model. This is not a | 208 * Retrieve the alignment model for this model. This is not a |