comparison data/model/FFTModel.h @ 1077:ec6e7f0f3f5b

Comment
author Chris Cannam
date Wed, 10 Jun 2015 13:09:14 +0100
parents 0fd3661bcfff
children 9f4505ac9072
comparison
equal deleted inserted replaced
1076:106081811ccd 1077:ec6e7f0f3f5b
116 } 116 }
117 virtual float getValueAt(int x, int y) const { 117 virtual float getValueAt(int x, int y) const {
118 return const_cast<FFTModel *>(this)->getMagnitudeAt(x, y); 118 return const_cast<FFTModel *>(this)->getMagnitudeAt(x, y);
119 } 119 }
120 virtual bool isOK() const { 120 virtual bool isOK() const {
121 // Return true if the model was constructed successfully (not
122 // necessarily whether an error has occurred since
123 // construction, use getError for that)
121 return m_server && m_server->getModel(); 124 return m_server && m_server->getModel();
122 } 125 }
123 virtual sv_frame_t getStartFrame() const { 126 virtual sv_frame_t getStartFrame() const {
124 return 0; 127 return 0;
125 } 128 }