GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
galileo_e5b_dll_pll_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e5b_dll_pll_tracking.h
3  * \brief Adapts a code DLL + carrier PLL
4  * tracking block to a TrackingInterface for Galileo E5b signals
5  * \author Piyush Gupta, 2020. piyush04111999@gmail.com
6  * \based on work from:
7  * <ul>
8  * <li> Javier Arribas, 2011. jarribas@cttc.es
9  * <li> Luis Esteve, 2012. luis@epsilon-formacion.com
10  * <li> Marc Sales, 2014. marcsales92@gmail.com
11  * </ul>
12  *
13  * -----------------------------------------------------------------------------
14  *
15  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
16  *
17  * GNSS-SDR is a software defined Global Navigation
18  * Satellite Systems receiver
19  *
20  * This file is part of GNSS-SDR.
21  *
22  * SPDX-License-Identifier: GPL-3.0-or-later
23  *
24  * -----------------------------------------------------------------------------
25  */
26 
27 #ifndef GNSS_SDR_GALILEO_E5B_DLL_PLL_TRACKING_H
28 #define GNSS_SDR_GALILEO_E5B_DLL_PLL_TRACKING_H
29 
30 #include "dll_pll_veml_tracking.h"
31 #include "tracking_interface.h"
32 #include <string>
33 
35 
36 /*!
37  * \brief This class implements a code DLL + carrier PLL tracking loop
38  */
40 {
41 public:
43  const ConfigurationInterface* configuration,
44  const std::string& role,
45  unsigned int in_streams,
46  unsigned int out_streams);
47 
48  ~GalileoE5bDllPllTracking() = default;
49 
50  inline std::string role() override
51  {
52  return role_;
53  }
54 
55  //! Returns "Galileo_E5b_DLL_PLL_Tracking"
56  inline std::string implementation() override
57  {
58  return "Galileo_E5b_DLL_PLL_Tracking";
59  }
60 
61  inline size_t item_size() override
62  {
63  return item_size_;
64  }
65 
66  /*!
67  * \brief Connect
68  */
69  void connect(gr::top_block_sptr top_block) override;
70 
71  /*!
72  * \brief Disconnect
73  */
74  void disconnect(gr::top_block_sptr top_block) override;
75 
76  /*!
77  * \brief Get left block
78  */
79  gr::basic_block_sptr get_left_block() override;
80 
81  /*!
82  * \brief Get right block
83  */
84  gr::basic_block_sptr get_right_block() override;
85 
86  /*!
87  * \brief Set tracking channel unique ID
88  */
89  void set_channel(unsigned int channel) override;
90 
91  /*!
92  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
93  * to efficiently exchange synchronization data between acquisition and tracking blocks
94  */
95  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
96 
97  void start_tracking() override;
98 
99  /*!
100  * \brief Stop running tracking
101  */
102  void stop_tracking() override;
103 
104 private:
105  dll_pll_veml_tracking_sptr tracking_;
106  size_t item_size_;
107  unsigned int channel_;
108  std::string role_;
109  unsigned int in_streams_;
110  unsigned int out_streams_;
111 };
112 
113 #endif // GNSS_SDR_GALILEO_E5B_DLL_PLL_TRACKING_H
gr::basic_block_sptr get_left_block() override
Get left block.
void stop_tracking() override
Stop running tracking.
std::string implementation() override
Returns "Galileo_E5b_DLL_PLL_Tracking".
void disconnect(gr::top_block_sptr top_block) override
Disconnect.
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
This is the class that contains the information that is shared by the processing blocks.
Definition: gnss_synchro.h:33
This abstract class represents an interface to configuration parameters.
Implementation of a code DLL + carrier PLL tracking block.
This class implements a code DLL + carrier PLL tracking loop.
void set_channel(unsigned int channel) override
Set tracking channel unique ID.
gr::basic_block_sptr get_right_block() override
Get right block.
This abstract class represents an interface to a tracking block.
void connect(gr::top_block_sptr top_block) override
Connect.
This class represents an interface to a tracking block.