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