GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
glonass_l1_ca_dll_pll_c_aid_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file glonass_l1_ca_dll_pll_c_aid_tracking.h
3  * \brief Interface of an adapter of a DLL+PLL tracking loop block
4  * for Glonass L1 C/A to a TrackingInterface
5  * \author Gabriel Araujo, 2017. gabriel.araujo.5000(at)gmail.com
6  * \author Luis Esteve, 2017. luis(at)epsilon-formacion.com
7  * \author Damian Miralles, 2017. dmiralles2009(at)gmail.com
8  *
9  *
10  * Code DLL + carrier PLL according to the algorithms described in:
11  * K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
12  * A Software-Defined GPS and Galileo Receiver. A Single-Frequency
13  * Approach, Birkha user, 2007
14  *
15  * -----------------------------------------------------------------------------
16  *
17  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
18  *
19  * GNSS-SDR is a software defined Global Navigation
20  * Satellite Systems receiver
21  *
22  * This file is part of GNSS-SDR.
23  *
24  * SPDX-License-Identifier: GPL-3.0-or-later
25  *
26  * -----------------------------------------------------------------------------
27  */
28 
29 #ifndef GNSS_SDR_GLONASS_L1_CA_DLL_PLL_C_AID_TRACKING_H
30 #define GNSS_SDR_GLONASS_L1_CA_DLL_PLL_C_AID_TRACKING_H
31 
34 #include "tracking_interface.h"
35 #include <string>
36 
38 
39 /*!
40  * \brief This class implements a code DLL + carrier PLL tracking loop
41  */
43 {
44 public:
46  const ConfigurationInterface* configuration,
47  const std::string& role,
48  unsigned int in_streams,
49  unsigned int out_streams);
50 
51  ~GlonassL1CaDllPllCAidTracking() = default;
52 
53  inline std::string role() override
54  {
55  return role_;
56  }
57 
58  //! Returns "GLONASS_L1_CA_DLL_PLL_C_Aid_Tracking"
59  inline std::string implementation() override
60  {
61  return "GLONASS_L1_CA_DLL_PLL_C_Aid_Tracking";
62  }
63 
64  inline size_t item_size() override
65  {
66  return item_size_;
67  }
68 
69  void connect(gr::top_block_sptr top_block) override;
70  void disconnect(gr::top_block_sptr top_block) override;
71  gr::basic_block_sptr get_left_block() override;
72  gr::basic_block_sptr get_right_block() override;
73 
74  /*!
75  * \brief Set tracking channel unique ID
76  */
77  void set_channel(unsigned int channel) override;
78 
79  /*!
80  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
81  * to efficiently exchange synchronization data between acquisition and tracking blocks
82  */
83  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
84 
85  void start_tracking() override;
86  /*!
87  * \brief Stop running tracking
88  */
89  void stop_tracking() override;
90 
91 private:
92  glonass_l1_ca_dll_pll_c_aid_tracking_cc_sptr tracking_cc;
93  glonass_l1_ca_dll_pll_c_aid_tracking_sc_sptr tracking_sc;
94  size_t item_size_;
95  std::string item_type_;
96  unsigned int channel_;
97  std::string role_;
98  unsigned int in_streams_;
99  unsigned int out_streams_;
100 };
101 
102 #endif // GNSS_SDR_GLONASS_L1_CA_DLL_PLL_C_AID_TRACKING_H
std::string implementation() override
Returns "GLONASS_L1_CA_DLL_PLL_C_Aid_Tracking".
This class implements a code DLL + carrier PLL tracking loop.
void set_channel(unsigned int channel) override
Set tracking channel unique ID.
This is the class that contains the information that is shared by the processing blocks.
Definition: gnss_synchro.h:33
Implementation of a code DLL + carrier PLL tracking block.
This abstract class represents an interface to configuration parameters.
void stop_tracking() override
Stop running tracking.
This abstract class represents an interface to a tracking block.
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
Implementation of a code DLL + carrier PLL tracking block.
This class represents an interface to a tracking block.