GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
galileo_e5b_pcps_acquisition.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e5b_pcps_acquisition.h
3  * \brief Adapts a PCPS acquisition block to an AcquisitionInterface for
4  * Galileo E5b data and pilot Signals
5  * \author Piyush Gupta, 2020. piyush04111999@gmail.com
6  * \note Code added as part of GSoC 2020 program.
7  *
8  * -----------------------------------------------------------------------------
9  *
10  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
11  * This file is part of GNSS-SDR.
12  *
13  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
14  * SPDX-License-Identifier: GPL-3.0-or-later
15  *
16  * -----------------------------------------------------------------------------
17  */
18 
19 #ifndef GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H
20 #define GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H
21 
22 
23 #include "base_pcps_acquisition.h"
24 
25 /** \addtogroup Acquisition
26  * \{ */
27 /** \addtogroup Acq_adapters
28  * \{ */
29 
31 {
32 public:
33  /*!
34  * \brief Constructor
35  */
37  const std::string& role,
38  unsigned int in_streams,
39  unsigned int out_streams);
40 
41  /*!
42  * \brief Destructor
43  */
44  ~GalileoE5bPcpsAcquisition() = default;
45 
46  /*!
47  * \brief Returns "GALILEO_E5b_PCPS_Acquisition"
48  */
49 
50  inline std::string implementation() override
51  {
52  return "Galileo_E5b_PCPS_Acquisition";
53  }
54 
55 private:
56  void code_gen_complex_sampled(own::span<std::complex<float>> dest, uint32_t prn, int32_t sampling_freq) override;
57 
58  bool acq_pilot_;
59  const bool acq_iq_;
60 };
61 
62 
63 /** \} */
64 /** \} */
65 #endif // GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H
This class adapts a PCPS acquisition block to an AcquisitionInterface.
GalileoE5bPcpsAcquisition(const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams)
Constructor.
std::string implementation() override
Returns "GALILEO_E5b_PCPS_Acquisition".
This abstract class represents an interface to configuration parameters.
~GalileoE5bPcpsAcquisition()=default
Destructor.