GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
galileo_e1_tcp_connector_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e1_tcp_connector_tracking.h
3  * \brief Interface of an adapter of a TCP connector block based on code DLL + carrier PLL
4  * for Galileo E1 to a TrackingInterface
5  * \author David Pubill, 2012. dpubill(at)cttc.es
6  * Luis Esteve, 2012. luis(at)epsilon-formacion.com
7  * Javier Arribas, 2011. jarribas(at)cttc.es
8  *
9  * Code DLL + carrier PLL according to the algorithms described in:
10  * K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
11  * A Software-Defined GPS and Galileo Receiver. A Single-Frequency
12  * Approach, Birkhauser, 2007
13  *
14  * -----------------------------------------------------------------------------
15  *
16  * Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors)
17  *
18  * GNSS-SDR is a software defined Global Navigation
19  * Satellite Systems receiver
20  *
21  * This file is part of GNSS-SDR.
22  *
23  * SPDX-License-Identifier: GPL-3.0-or-later
24  *
25  * -----------------------------------------------------------------------------
26  */
27 
28 #ifndef GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H
29 #define GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H
30 
32 #include "tracking_interface.h"
33 #include <string>
34 
35 
37 
38 /*!
39  * \brief This class implements a code DLL + carrier PLL tracking loop
40  */
42 {
43 public:
45  const ConfigurationInterface* configuration,
46  const std::string& role,
47  unsigned int in_streams,
48  unsigned int out_streams);
49 
50  ~GalileoE1TcpConnectorTracking() = default;
51 
52  inline std::string role() override
53  {
54  return role_;
55  }
56 
57  //! Returns "Galileo_E1_TCP_CONNECTOR_Tracking"
58  inline std::string implementation() override
59  {
60  return "Galileo_E1_TCP_CONNECTOR_Tracking";
61  }
62 
63  inline size_t item_size() override
64  {
65  return item_size_;
66  }
67 
68  void connect(gr::top_block_sptr top_block) override;
69  void disconnect(gr::top_block_sptr top_block) override;
70  gr::basic_block_sptr get_left_block() override;
71  gr::basic_block_sptr get_right_block() override;
72 
73  /*!
74  * \brief Set tracking channel unique ID
75  */
76  void set_channel(unsigned int channel) override;
77 
78  /*!
79  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
80  * to efficiently exchange synchronization data between acquisition and
81  * 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  galileo_e1_tcp_connector_tracking_cc_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_TCP_CONNECTOR_TRACKING_H
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.
This class implements a code DLL + carrier PLL tracking loop.
std::string implementation() override
Returns "Galileo_E1_TCP_CONNECTOR_Tracking".
This abstract class represents an interface to a tracking block.
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...
This class represents an interface to a tracking block.
Interface of a TCP connector block based on code DLL + carrier PLL VEML (Very Early Minus Late) track...