diff options
author | Roman Khassraf <roman@khassraf.at> | 2015-08-03 10:08:18 +0200 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2015-08-03 10:08:18 +0200 |
commit | b8f4909d37c2c16c9c5deb09264fccfad973ed7d (patch) | |
tree | 4d7ec8d85ed284a593ded7809884ac932bf3a6ac /include/grgsm/qa_utils/burst_sink_qa.h | |
parent | c0cb6998da3c0cad463964fcc6643ff61c6e64b5 (diff) |
Moved qa utilities to a separate directory
Diffstat (limited to 'include/grgsm/qa_utils/burst_sink_qa.h')
-rw-r--r-- | include/grgsm/qa_utils/burst_sink_qa.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/include/grgsm/qa_utils/burst_sink_qa.h b/include/grgsm/qa_utils/burst_sink_qa.h new file mode 100644 index 0000000..3b5cac2 --- /dev/null +++ b/include/grgsm/qa_utils/burst_sink_qa.h @@ -0,0 +1,60 @@ +/* -*- c++ -*- */ +/* @file + * @author Roman Khassraf <rkhassraf@gmail.com> + * @section LICENSE + * + * Gr-gsm 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. + * + * Gr-gsm 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 gr-gsm; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + * + */ + +#ifndef INCLUDED_GSM_BURST_SINK_QA_H +#define INCLUDED_GSM_BURST_SINK_QA_H + +#include <grgsm/api.h> +#include <gnuradio/block.h> + +namespace gr { + namespace gsm { + + /*! + * \brief <+description of block+> + * \ingroup gsm + * + */ + class GSM_API burst_sink_qa : virtual public gr::block + { + public: + typedef boost::shared_ptr<burst_sink_qa> sptr; + + /*! + * \brief Return a shared_ptr to a new instance of grgsm::burst_sink_qa. + * + * To avoid accidental use of raw pointers, grgsm::burst_sink_qa's + * constructor is in a private implementation + * class. grgsm::burst_sink_qa::make is the public interface for + * creating new instances. + */ + static sptr make(); + + virtual std::vector<int> get_framenumbers() = 0; + virtual std::vector<int> get_timeslots() = 0; + virtual std::vector<std::string> get_burst_data() = 0; + }; + } // namespace gsm +} // namespace gr + +#endif /* INCLUDED_GSM_BURST_SINK_QA_H */ + |