diff options
author | Josh Blum | 2012-09-03 14:38:56 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-03 14:38:56 -0700 |
commit | 20fc18a2a9f4c47f8e782f15d82aaf5f49d7f0aa (patch) | |
tree | 2f012ffcc091b86fa6a6f2f7666de7cca44826d7 /lib/gr_sync_block.cpp | |
parent | 39545d55cd89f1dbb8092cfed6864d40db56ac0e (diff) | |
download | sandhi-20fc18a2a9f4c47f8e782f15d82aaf5f49d7f0aa.tar.gz sandhi-20fc18a2a9f4c47f8e782f15d82aaf5f49d7f0aa.tar.bz2 sandhi-20fc18a2a9f4c47f8e782f15d82aaf5f49d7f0aa.zip |
create default works for gr sync and block
Diffstat (limited to 'lib/gr_sync_block.cpp')
-rw-r--r-- | lib/gr_sync_block.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gr_sync_block.cpp b/lib/gr_sync_block.cpp index 2cd3879..5344ac8 100644 --- a/lib/gr_sync_block.cpp +++ b/lib/gr_sync_block.cpp @@ -34,6 +34,14 @@ gr_sync_block::gr_sync_block( this->set_fixed_rate(true); } +int gr_sync_block::work( + int noutput_items, + gr_vector_const_void_star &input_items, + gr_vector_void_star &output_items +){ + throw std::runtime_error("gr_block subclasses must overload general_work!"); +} + gr_sync_interpolator::gr_sync_interpolator(void) { //NOP |