GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
galileo_e1_dll_pll_veml_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e1_dll_pll_veml_tracking.h
3  * \brief Adapts a DLL+PLL VEML (Very Early Minus Late) tracking loop block
4  * to a TrackingInterface for Galileo E1 signals
5  * \author Luis Esteve, 2012. luis(at)epsilon-formacion.com
6  *
7  * Code DLL + carrier PLL according to the algorithms described in:
8  * K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
9  * A Software-Defined GPS and Galileo Receiver. A Single-Frequency
10  * Approach, Birkhauser, 2007
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_E1_DLL_PLL_VEML_TRACKING_H
27 #define GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H
28 
29 #include "dll_pll_veml_tracking.h"
30 #include "tracking_interface.h"
31 #include <string>
32 
33 
35 
36 /*!
37  * \brief This class Adapts a DLL+PLL VEML (Very Early Minus Late) tracking
38  * loop block to a TrackingInterface for Galileo E1 signals
39  */
41 {
42 public:
44  const ConfigurationInterface* configuration,
45  const std::string& role,
46  unsigned int in_streams,
47  unsigned int out_streams);
48 
49  ~GalileoE1DllPllVemlTracking() = default;
50 
51  inline std::string role() override
52  {
53  return role_;
54  }
55 
56  //! Returns "Galileo_E1_DLL_PLL_VEML_Tracking"
57  inline std::string implementation() override
58  {
59  return "Galileo_E1_DLL_PLL_VEML_Tracking";
60  }
61 
62  inline size_t item_size() override
63  {
64  return item_size_;
65  }
66 
67  void connect(gr::top_block_sptr top_block) override;
68  void disconnect(gr::top_block_sptr top_block) override;
69  gr::basic_block_sptr get_left_block() override;
70  gr::basic_block_sptr get_right_block() override;
71 
72  /*!
73  * \brief Set tracking channel unique ID
74  */
75  void set_channel(unsigned int channel) override;
76 
77  /*!
78  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
79  * to efficiently exchange synchronization data between acquisition and
80  * tracking blocks
81  */
82  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
83 
84  void start_tracking() override;
85 
86  /*!
87  * \brief Stop running tracking
88  */
89  void stop_tracking() override;
90 
91 private:
92  dll_pll_veml_tracking_sptr tracking_;
93  size_t item_size_;
94  unsigned int channel_;
95  std::string role_;
96  unsigned int in_streams_;
97  unsigned int out_streams_;
98 };
99 
100 #endif // GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H
void set_channel(unsigned int channel) override
Set tracking channel unique ID.
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.
std::string implementation() override
Returns "Galileo_E1_DLL_PLL_VEML_Tracking".
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
This abstract class represents an interface to a tracking block.
This class Adapts a DLL+PLL VEML (Very Early Minus Late) tracking loop block to a TrackingInterface f...
This class represents an interface to a tracking block.