diff options
Diffstat (limited to 'gr-blocks/include')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/message_sink.h | 52 | ||||
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/message_source.h | 54 |
3 files changed, 0 insertions, 108 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/CMakeLists.txt b/gr-blocks/include/gnuradio/blocks/CMakeLists.txt index 5a748acc19..9a8c96aa59 100644 --- a/gr-blocks/include/gnuradio/blocks/CMakeLists.txt +++ b/gr-blocks/include/gnuradio/blocks/CMakeLists.txt @@ -120,8 +120,6 @@ install(FILES keep_one_in_n.h lfsr_32k_source_s.h message_debug.h - message_sink.h - message_source.h message_strobe.h message_strobe_random.h message_burst_source.h diff --git a/gr-blocks/include/gnuradio/blocks/message_sink.h b/gr-blocks/include/gnuradio/blocks/message_sink.h deleted file mode 100644 index 541ad6eaa1..0000000000 --- a/gr-blocks/include/gnuradio/blocks/message_sink.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2005,2013 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. - */ - -#ifndef INCLUDED_GR_MESSAGE_SINK_H -#define INCLUDED_GR_MESSAGE_SINK_H - -#include <gnuradio/blocks/api.h> -#include <gnuradio/sync_block.h> -#include <gnuradio/msg_queue.h> - -namespace gr { - namespace blocks { - - /*! - * \brief Gather received items into messages and insert into msgq - * \ingroup message_tools_blk - */ - class BLOCKS_API message_sink : virtual public sync_block - { - public: - // gr::blocks::message_sink::sptr - typedef boost::shared_ptr<message_sink> sptr; - - static sptr make(size_t itemsize, gr::msg_queue::sptr msgq, bool dont_block); - static sptr make(size_t itemsize, gr::msg_queue::sptr msgq, bool dont_block, - const std::string& lengthtagname); - - }; - - } /* namespace blocks */ -} /* namespace gr */ - -#endif /* INCLUDED_GR_MESSAGE_SINK_H */ diff --git a/gr-blocks/include/gnuradio/blocks/message_source.h b/gr-blocks/include/gnuradio/blocks/message_source.h deleted file mode 100644 index d85c07cf2c..0000000000 --- a/gr-blocks/include/gnuradio/blocks/message_source.h +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2005,2013 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. - */ - -#ifndef INCLUDED_GR_MESSAGE_SOURCE_H -#define INCLUDED_GR_MESSAGE_SOURCE_H - -#include <gnuradio/blocks/api.h> -#include <gnuradio/sync_block.h> -#include <gnuradio/msg_queue.h> - -namespace gr { - namespace blocks { - - /*! - * \brief Turn received messages into a stream - * \ingroup message_tools_blk - */ - class BLOCKS_API message_source : virtual public sync_block - { - public: - // gr::blocks::message_source::sptr - typedef boost::shared_ptr<message_source> sptr; - - static sptr make(size_t itemsize, int msgq_limit=0); - static sptr make(size_t itemsize, gr::msg_queue::sptr msgq); - static sptr make(size_t itemsize, gr::msg_queue::sptr msgq, - const std::string& lengthtagname); - - virtual gr::msg_queue::sptr msgq() const = 0; - }; - - } /* namespace blocks */ -} /* namespace gr */ - -#endif /* INCLUDED_GR_MESSAGE_SOURCE_H */ |