blob: fe97f2297137a64ac8eea80d4085cf1ab4dc8ca8 [file] [log] [blame]
Roman Khassrafe5ddab32016-12-04 16:19:40 +01001/* -*- c++ -*- */
2/*
3 * @file
4 * @author 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
29namespace 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 public:
38 virtual std::vector<int> get_framenumbers();
39 virtual std::vector<int> get_a5_versions();
40 extract_cmc_impl();
41 ~extract_cmc_impl();
42 };
43 } // namespace gsm
44} // namespace gr
45#endif /* INCLUDED_GSM_EXTRACT_CMC_IMPL_H */