GNU Radio 3.6.0 C++ API
|
00001 /* 00002 * Copyright 2011 Free Software Foundation, Inc. 00003 * 00004 * This file is part of GNU Radio 00005 * 00006 * GNU Radio is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 3, or (at your option) 00009 * any later version. 00010 * 00011 * GNU Radio is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with GNU Radio; see the file COPYING. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, 00019 * Boston, MA 02110-1301, USA. 00020 */ 00021 #ifndef INCLUDED_GR_EXTRAS_SUBTRACT_H 00022 #define INCLUDED_GR_EXTRAS_SUBTRACT_H 00023 00024 #include <gnuradio/extras/api.h> 00025 #include <gr_sync_block.h> 00026 00027 namespace gnuradio{ namespace extras{ 00028 00029 class GR_EXTRAS_API subtract : virtual public gr_sync_block{ 00030 public: 00031 typedef boost::shared_ptr<subtract> sptr; 00032 00033 static sptr make_fc32_fc32(const size_t vlen = 1); 00034 static sptr make_sc32_sc32(const size_t vlen = 1); 00035 static sptr make_sc16_sc16(const size_t vlen = 1); 00036 static sptr make_sc8_sc8(const size_t vlen = 1); 00037 static sptr make_f32_f32(const size_t vlen = 1); 00038 static sptr make_s32_s32(const size_t vlen = 1); 00039 static sptr make_s16_s16(const size_t vlen = 1); 00040 static sptr make_s8_s8(const size_t vlen = 1); 00041 }; 00042 00043 }} 00044 00045 #endif /* INCLUDED_GR_EXTRAS_SUBTRACT_H */