GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
galileo_tow_map.h
Go to the documentation of this file.
1/*!
2 * \file galileo_tow_map.h
3 * \brief GNU Radio block that stores TOW for Galileo channels
4 * \author Carles Fernandez-Prades, 2022. cfernandez(at)cttc.es
5 *
6 * -----------------------------------------------------------------------------
7 *
8 * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9 * This file is part of GNSS-SDR.
10 *
11 * Copyright (C) 2010-2022 (see AUTHORS file for a list of contributors)
12 * SPDX-License-Identifier: GPL-3.0-or-later
13 *
14 * -----------------------------------------------------------------------------
15 */
16
17#ifndef GNSS_SDR_GALILEO_TOW_MAP_H
18#define GNSS_SDR_GALILEO_TOW_MAP_H
19
20#include "gnss_block_interface.h" // for gnss_shared_ptr
21#include <gnuradio/block.h> // for gr::block
22#include <pmt/pmt.h> // for pmt::pmt_t
23#include <cstdint>
24#include <map>
25#include <utility>
26
27/** \addtogroup Core
28 * \{ */
29/** \addtogroup Core_Receiver_Library
30 * \{ */
31
32class galileo_tow_map;
33
34using galileo_tow_map_sptr = gnss_shared_ptr<galileo_tow_map>;
35
36galileo_tow_map_sptr galileo_tow_map_make();
37
38class galileo_tow_map : public gr::block
39{
40public:
41 ~galileo_tow_map() = default; //!< Default destructor
42
43private:
44 friend galileo_tow_map_sptr galileo_tow_map_make();
45 galileo_tow_map();
46
47 void msg_handler_galileo_tow_map(const pmt::pmt_t& msg);
48
49 std::map<uint32_t, std::pair<uint32_t, uint64_t>> d_galileo_tow;
50};
51
52/** \} */
53/** \} */
54#endif // GNSS_SDR_GALILEO_TOW_MAP_H
~galileo_tow_map()=default
Default destructor.
This interface represents a GNSS block.