blob: b320b5e7606a0538cbd04043210b35772ae41fa4 [file] [log] [blame]
Roman Khassraf98581a82017-01-11 12:50:38 +01001/* -*- c++ -*- */
2/*
3 * @file
Piotr Krysika6268a52017-08-23 16:02:19 +02004 * @author (C) 2017 by Roman Khassraf <rkhassraf@gmail.com>
Roman Khassraf98581a82017-01-11 12:50:38 +01005 * @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_COLLECT_SYSTEM_INFO_IMPL_H
24#define INCLUDED_GSM_COLLECT_SYSTEM_INFO_IMPL_H
25
26#include <grgsm/misc_utils/collect_system_info.h>
27#include <vector>
28
29namespace gr {
30 namespace gsm {
31 class collect_system_info_impl : public collect_system_info
32 {
33 private:
34 void process_messages(pmt::pmt_t msg);
35 std::vector<int> d_framenumbers;
36 std::vector<std::string> d_sit_types;
37 std::vector<std::string> d_sit_data;
38 std::string get_hex_string(uint8_t * msg_elements);
39 public:
40 virtual std::vector<int> get_framenumbers();
41 virtual std::vector<std::string> get_system_information_type();
42 virtual std::vector<std::string> get_data();
43 collect_system_info_impl();
44 ~collect_system_info_impl();
45 };
46 } // namespace gsm
47} // namespace gr
48
49#endif /* INCLUDED_GSM_COLLECT_SYSTEM_INFO_IMPL_H */