GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
tow_to_trk.h
Go to the documentation of this file.
1/*!
2 * \file tow_to_trk.h
3 * \brief Class to inform about TOW from Telemetry to Tracking blocks
4 * \author Carles Fernandez, 2025. 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-2025 (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_TOW_TO_TRK_H
18#define GNSS_SDR_TOW_TO_TRK_H
19
20#include <cstdint>
21#include <string>
22
23
24/** \addtogroup Core
25 * \{ */
26/** \addtogroup System_Parameters
27 * \{ */
28
29class TOW_to_trk
30{
31public:
32 TOW_to_trk() = default;
33
34 // Constructor with all parameters
35 TOW_to_trk(const std::string& sig, int32_t ch, uint32_t t, uint64_t stamp, int32_t w, uint32_t p)
36 : signal(sig), channel(ch), tow(t), sample_stamp(stamp), wn(w), prn(p) {}
37
38 std::string signal;
39 int32_t channel{0};
40 uint32_t tow{0};
41 uint64_t sample_stamp{0};
42 int32_t wn{0};
43 uint32_t prn{0};
44};
45
46/** \} */
47/** \} */
48#endif // GNSS_SDR_TOW_TO_TRK_H