comparison layer/SliceableLayer.h @ 1486:ac0a8addabcf

Merge from branch by-id
author Chris Cannam
date Wed, 17 Jul 2019 14:25:16 +0100
parents 11a150e65ee1
children 4eafe5a1b655
comparison
equal deleted inserted replaced
1468:de41a11cabc2 1486:ac0a8addabcf
32 // DenseThreeDimensionalModel. This may be the layer's usual 32 // DenseThreeDimensionalModel. This may be the layer's usual
33 // model, or it may be a model derived from it (e.g. FFTModel in a 33 // model, or it may be a model derived from it (e.g. FFTModel in a
34 // spectrogram that was constructed from a DenseTimeValueModel). 34 // spectrogram that was constructed from a DenseTimeValueModel).
35 // The SliceableLayer retains ownership of the model, and will 35 // The SliceableLayer retains ownership of the model, and will
36 // emit sliceableModelReplaced if it is about to become invalid. 36 // emit sliceableModelReplaced if it is about to become invalid.
37 virtual const Model *getSliceableModel() const = 0; 37 virtual ModelId getSliceableModel() const = 0;
38 38 /*!!!
39 signals: 39 signals:
40 // Emitted when a model that was obtained through 40 // Emitted when a model that was obtained through
41 // getSliceableModel is about to be deleted. If replacement is 41 // getSliceableModel is about to be deleted. If replacement is
42 // non-NULL, it may be used instead. 42 // non-NULL, it may be used instead.
43 void sliceableModelReplaced(const Model *modelToBeReplaced, 43 void sliceableModelReplaced(const Model *modelToBeReplaced,
44 const Model *replacement); 44 const Model *replacement);
45 */
45 }; 46 };
46 47
47 #endif 48 #endif
48 49
49 50