comparison data/model/AggregateWaveModel.h @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 5877d68815c7
children
comparison
equal deleted inserted replaced
337:a6fab10ff9e6 384:6f6ab834449d
40 ~AggregateWaveModel(); 40 ~AggregateWaveModel();
41 41
42 bool isOK() const; 42 bool isOK() const;
43 bool isReady(int *) const; 43 bool isReady(int *) const;
44 44
45 QString getTypeName() const { return tr("Aggregate Wave"); }
46
45 size_t getComponentCount() const; 47 size_t getComponentCount() const;
46 ModelChannelSpec getComponent(size_t c) const; 48 ModelChannelSpec getComponent(size_t c) const;
47 49
48 const ZoomConstraint *getZoomConstraint() const { return &m_zoomConstraint; } 50 const ZoomConstraint *getZoomConstraint() const { return &m_zoomConstraint; }
49 51
62 virtual size_t getData(int channel, size_t start, size_t count, 64 virtual size_t getData(int channel, size_t start, size_t count,
63 float *buffer) const; 65 float *buffer) const;
64 66
65 virtual size_t getData(int channel, size_t start, size_t count, 67 virtual size_t getData(int channel, size_t start, size_t count,
66 double *buffer) const; 68 double *buffer) const;
69
70 virtual size_t getData(size_t fromchannel, size_t tochannel,
71 size_t start, size_t count,
72 float **buffer) const;
73
74 virtual size_t getSummaryBlockSize(size_t desired) const;
67 75
68 virtual void getSummaries(size_t channel, size_t start, size_t count, 76 virtual void getSummaries(size_t channel, size_t start, size_t count,
69 RangeBlock &ranges, 77 RangeBlock &ranges,
70 size_t &blockSize) const; 78 size_t &blockSize) const;
71 79