GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
galileo_e1_pcps_ambiguous_acquisition.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e1_pcps_ambiguous_acquisition.h
3  * \brief Adapts a PCPS acquisition block to an AcquisitionInterface for
4  * Galileo E1 Signals
5  * \author Luis Esteve, 2012. luis(at)epsilon-formacion.com
6  *
7  * -----------------------------------------------------------------------------
8  *
9  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
10  * This file is part of GNSS-SDR.
11  *
12  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
13  * SPDX-License-Identifier: GPL-3.0-or-later
14  *
15  * -----------------------------------------------------------------------------
16  */
17 
18 #ifndef GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_H
19 #define GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_H
20 
21 #include "base_pcps_acquisition.h"
22 
23 /** \addtogroup Acquisition
24  * \{ */
25 /** \addtogroup Acq_adapters
26  * \{ */
27 
28 
29 /*!
30  * \brief This class adapts a PCPS acquisition block to an
31  * AcquisitionInterface for Galileo E1 Signals
32  */
34 {
35 public:
37  const ConfigurationInterface* configuration,
38  const std::string& role,
39  unsigned int in_streams,
40  unsigned int out_streams);
41 
43 
44  /*!
45  * \brief Returns "Galileo_E1_PCPS_Ambiguous_Acquisition"
46  */
47  inline std::string implementation() override
48  {
49  return "Galileo_E1_PCPS_Ambiguous_Acquisition";
50  }
51 
52  /*!
53  * \brief Set acquisition channel unique ID
54  */
55  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
56 
57 private:
58  void code_gen_complex_sampled(own::span<std::complex<float>> dest, uint32_t prn, int32_t sampling_freq) override;
59 
60  const bool acquire_pilot_;
61  const bool cboc_;
62  Gnss_Synchro* gnss_synchro_;
63 };
64 
65 
66 /** \} */
67 /** \} */
68 #endif // GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_H
This class adapts a PCPS acquisition block to an AcquisitionInterface.
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition channel unique ID.
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.
std::string implementation() override
Returns "Galileo_E1_PCPS_Ambiguous_Acquisition".
This class adapts a PCPS acquisition block to an AcquisitionInterface for Galileo E1 Signals...