diff options
Diffstat (limited to 'gr-usrp2/src/usrp2_sink_32fc.cc')
-rw-r--r-- | gr-usrp2/src/usrp2_sink_32fc.cc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gr-usrp2/src/usrp2_sink_32fc.cc b/gr-usrp2/src/usrp2_sink_32fc.cc new file mode 100644 index 000000000..56cde6ba7 --- /dev/null +++ b/gr-usrp2/src/usrp2_sink_32fc.cc @@ -0,0 +1,46 @@ +/* -*- c++ -*- */ +/* + * Copyright 2008 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <usrp2_sink_32fc.h> +#include <gr_io_signature.h> +#include <usrp_standard.h> +#include <usrp_bytesex.h> + +usrp2_sink_32fc_sptr +usrp2_make_sink_32fc() throw (std::runtime_error) +{ + return usrp2_sink_32fc_sptr(new usrp2_sink_32fc()); +} + +usrp2_sink_32fc::usrp2_sink_32fc() throw (std::runtime_error) + : usrp2_sink_base("usrp2_sink_32fc", + gr_make_io_signature(1, 1, sizeof(gr_complex))) +{ +} + +usrp2_sink_32fc::~usrp2_sink_32fc() +{ +} |