GNSS-SDR  0.0.17
An Open Source GNSS Software Defined Receiver
gps_l1_ca_kf_vtl_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file gps_l1_ca_kf_vtl_tracking.h
3  * \brief Interface of an adapter of a code + carrier Kalman Filter tracking loop with VTL capabilities block
4  * for GPS L1 C/A to a TrackingInterface
5  * \author Javier Arribas, 2020. jarribas(at)cttc.es
6  *
7  *
8  * -----------------------------------------------------------------------------
9  *
10  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
11  *
12  * GNSS-SDR is a software defined Global Navigation
13  * Satellite Systems receiver
14  *
15  * This file is part of GNSS-SDR.
16  *
17  * SPDX-License-Identifier: GPL-3.0-or-later
18  *
19  * -----------------------------------------------------------------------------
20  */
21 
22 #ifndef GNSS_SDR_GPS_L1_CA_kf_vtl_TRACKING_H
23 #define GNSS_SDR_GPS_L1_CA_kf_vtl_TRACKING_H
24 
25 #include "kf_vtl_tracking.h"
26 #include "tracking_interface.h"
27 #include <string>
28 
30 
31 /*!
32  * \brief This class implements a code + carrier Kalman Filter tracking loop with VTL capabilities
33  */
35 {
36 public:
38  const ConfigurationInterface* configuration,
39  const std::string& role,
40  unsigned int in_streams,
41  unsigned int out_streams);
42 
43  ~GpsL1CaKfVtlTracking() = default;
44 
45  inline std::string role() override
46  {
47  return role_;
48  }
49 
50  //! Returns "GPS_L1_CA_kf_vtl_Tracking"
51  inline std::string implementation() override
52  {
53  return "GPS_L1_CA_KF_VTL_Tracking";
54  }
55 
56  inline size_t item_size() override
57  {
58  return item_size_;
59  }
60 
61  void connect(gr::top_block_sptr top_block) override;
62  void disconnect(gr::top_block_sptr top_block) override;
63  gr::basic_block_sptr get_left_block() override;
64  gr::basic_block_sptr get_right_block() override;
65 
66  /*!
67  * \brief Set tracking channel unique ID
68  */
69  void set_channel(unsigned int channel) override;
70 
71  /*!
72  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
73  * to efficiently exchange synchronization data between acquisition and tracking blocks
74  */
75  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
76 
77  void start_tracking() override;
78 
79  /*!
80  * \brief Stop running tracking
81  */
82  void stop_tracking() override;
83 
84 private:
85  kf_vtl_tracking_sptr tracking_;
86  size_t item_size_;
87  unsigned int channel_;
88  std::string role_;
89  unsigned int in_streams_;
90  unsigned int out_streams_;
91 };
92 
93 #endif // GNSS_SDR_GPS_L1_CA_kf_vtl_TRACKING_H
This class implements a code + carrier Kalman Filter tracking loop with VTL capabilities.
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
std::string implementation() override
Returns "GPS_L1_CA_kf_vtl_Tracking".
This is the class that contains the information that is shared by the processing blocks.
Definition: gnss_synchro.h:38
This abstract class represents an interface to configuration parameters.
void stop_tracking() override
Stop running tracking.
void set_channel(unsigned int channel) override
Set tracking channel unique ID.
This abstract class represents an interface to a tracking block.
This class represents an interface to a tracking block.