comparison data/model/RangeSummarisableTimeValueModel.h @ 225:185454896a76

* Return ranges from RangeSummarisableTimeValueModel::getRanges by references instead of by return value. Trying to isolate a Win32 problem.
author Chris Cannam
date Wed, 07 Feb 2007 14:21:14 +0000
parents 0ed2b2e26b44
children c022976d18e8
comparison
equal deleted inserted replaced
224:8ff1ad4e7a9c 225:185454896a76
56 * If the given block size is not supported by this model 56 * If the given block size is not supported by this model
57 * (according to its zoom constraint), also modify the blockSize 57 * (according to its zoom constraint), also modify the blockSize
58 * parameter so as to return the block size that was actually 58 * parameter so as to return the block size that was actually
59 * obtained. 59 * obtained.
60 */ 60 */
61 virtual RangeBlock getRanges(size_t channel, size_t start, size_t end, 61 virtual void getRanges(size_t channel, size_t start, size_t end,
62 size_t &blockSize) const = 0; 62 RangeBlock &ranges,
63 size_t &blockSize) const = 0;
63 64
64 /** 65 /**
65 * Return the range between the given start and end frames, 66 * Return the range between the given start and end frames,
66 * summarised at a block size equal to the distance between start 67 * summarised at a block size equal to the distance between start
67 * and end frames. 68 * and end frames.