GNU Radio's GSM Package: extract_cmc_impl.h Source File

GNU Radio's GSM Package

extract_cmc_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3 * @file
4 * @author (C) 2016 by Roman Khassraf <rkhassraf@gmail.com>
5 * @section LICENSE
6 *
7 * Gr-gsm is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
11 *
12 * Gr-gsm is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with gr-gsm; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #ifndef INCLUDED_GSM_EXTRACT_CMC_IMPL_H
24 #define INCLUDED_GSM_EXTRACT_CMC_IMPL_H
25
26 #include <grgsm/misc_utils/extract_cmc.h>
27 #include <vector>
28
29 namespace gr {
30 namespace gsm {
31 class extract_cmc_impl : public extract_cmc
32 {
33 private:
34 void process_messages(pmt::pmt_t msg);
35 std::vector<int> d_framenumbers;
36 std::vector<int> d_a5_versions;
37 std::vector<int> d_start_ciphering;
38 public:
39 virtual std::vector<int> get_framenumbers();
40 virtual std::vector<int> get_a5_versions();
41 virtual std::vector<int> get_start_ciphering();
42 extract_cmc_impl();
43 ~extract_cmc_impl();
44 };
45 } // namespace gsm
46 } // namespace gr
47 #endif /* INCLUDED_GSM_EXTRACT_CMC_IMPL_H */
extract_cmc.h
gr::gsm::extract_cmc_impl
Definition: extract_cmc_impl.h:31
gr::gsm::extract_cmc_impl::~extract_cmc_impl
~extract_cmc_impl()
gr::gsm::extract_cmc_impl::extract_cmc_impl
extract_cmc_impl()
gr::gsm::extract_cmc
<+description of block+>
Definition: extract_cmc.h:39
gr::gsm::extract_cmc_impl::get_framenumbers
virtual std::vector< int > get_framenumbers()
gr
Definition: constants.h:29
gr::gsm::extract_cmc_impl::get_start_ciphering
virtual std::vector< int > get_start_ciphering()
gr::gsm::extract_cmc_impl::get_a5_versions
virtual std::vector< int > get_a5_versions()