summaryrefslogtreecommitdiff
path: root/gr-fft/include/fft/goertzel_fc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fft/include/fft/goertzel_fc.h')
-rw-r--r--gr-fft/include/fft/goertzel_fc.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/gr-fft/include/fft/goertzel_fc.h b/gr-fft/include/fft/goertzel_fc.h
index 0bc5384b9..4d3fa8dcf 100644
--- a/gr-fft/include/fft/goertzel_fc.h
+++ b/gr-fft/include/fft/goertzel_fc.h
@@ -42,22 +42,16 @@ namespace gr {
*/
static FFT_API sptr make(int rate, int len, float freq);
- virtual void set_freq (float freq)
- { throw std::runtime_error("goertzel_fc::set_freq not implemented.\n"); }
-
- virtual void set_rate (int rate)
- { throw std::runtime_error("goertzel_fc::set_rate not implemented.\n"); }
+ virtual void set_freq (float freq) = 0;
- float freq()
- { throw std::runtime_error("goertzel_fc::freq not implemented.\n"); }
-
- int rate()
- { throw std::runtime_error("goertzel_fc::rate not implemented.\n"); }
+ virtual void set_rate (int rate) = 0;
+
+ virtual float freq() = 0;
+ virtual int rate() = 0;
};
} /* namespace fft */
} /* namespace gr */
#endif /* INCLUDED_FFT_GOERTZEL_FC_H */
-