summaryrefslogtreecommitdiff
path: root/gr-fft/include/fft/fft_vcc.h
diff options
context:
space:
mode:
authorJohnathan Corgan2012-04-29 10:28:01 -0700
committerJohnathan Corgan2012-04-29 10:28:01 -0700
commit8613b52b42585f1f0f1ca73b778cd47ec2548292 (patch)
treef41852b81bcc61612c1b732aa3e7d9d931ff519f /gr-fft/include/fft/fft_vcc.h
parentd79054551fee36eda99a142aff2856f20b4787fa (diff)
downloadgnuradio-8613b52b42585f1f0f1ca73b778cd47ec2548292.tar.gz
gnuradio-8613b52b42585f1f0f1ca73b778cd47ec2548292.tar.bz2
gnuradio-8613b52b42585f1f0f1ca73b778cd47ec2548292.zip
fft: make interface functions pure virtual
Diffstat (limited to 'gr-fft/include/fft/fft_vcc.h')
-rw-r--r--gr-fft/include/fft/fft_vcc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gr-fft/include/fft/fft_vcc.h b/gr-fft/include/fft/fft_vcc.h
index 932fa6f50..561ae858d 100644
--- a/gr-fft/include/fft/fft_vcc.h
+++ b/gr-fft/include/fft/fft_vcc.h
@@ -44,14 +44,11 @@ namespace gr {
const std::vector<float> &window,
bool shift=false, int nthreads=1);
- virtual void set_nthreads(int n)
- { throw std::runtime_error("fft_vcc::set_nthreads not implemented.\n"); }
+ virtual void set_nthreads(int n) = 0;
- virtual int nthreads() const
- { throw std::runtime_error("fft_vcc::nthreads not implemented.\n"); }
+ virtual int nthreads() const = 0;
- virtual bool set_window(const std::vector<float> &window)
- { throw std::runtime_error("fft_vcc::set_window not implemented.\n"); }
+ virtual bool set_window(const std::vector<float> &window) = 0;
};
} /* namespace fft */