GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
glonass_l2_ca_pcps_acquisition.h
Go to the documentation of this file.
1 /*!
2  * \file glonass_l2_ca_pcps_acquisition.h
3  * \brief Adapts a PCPS acquisition block to an AcquisitionInterface for
4  * Glonass L2 C/A signals
5  * \author Damian Miralles, 2018, dmiralles2009@gmail.com
6  *
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_GLONASS_L2_CA_PCPS_ACQUISITION_H
20 #define GNSS_SDR_GLONASS_L2_CA_PCPS_ACQUISITION_H
21 
22 #include "base_pcps_acquisition.h"
23 
24 /** \addtogroup Acquisition
25  * \{ */
26 /** \addtogroup Acq_adapters
27  * \{ */
28 
29 /*!
30  * \brief This class adapts a PCPS acquisition block to an AcquisitionInterface
31  * for GLONASS L2 C/A 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 
42  ~GlonassL2CaPcpsAcquisition() = default;
43 
44  /*!
45  * \brief Returns "GLONASS_L2_CA_PCPS_Acquisition"
46  */
47  inline std::string implementation() override
48  {
49  return "GLONASS_L2_CA_PCPS_Acquisition";
50  }
51 
52 private:
53  void code_gen_complex_sampled(own::span<std::complex<float>> dest, uint32_t prn, int32_t sampling_freq) override;
54 };
55 
56 
57 /** \} */
58 /** \} */
59 #endif // GNSS_SDR_GLONASS_L2_CA_PCPS_ACQUISITION_H
std::string implementation() override
Returns "GLONASS_L2_CA_PCPS_Acquisition".
This class adapts a PCPS acquisition block to an AcquisitionInterface.
This abstract class represents an interface to configuration parameters.
This class adapts a PCPS acquisition block to an AcquisitionInterface for GLONASS L2 C/A signals...