GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
galileo_e1_pcps_cccwsr_ambiguous_acquisition.h
Go to the documentation of this file.
1/*!
2 * \file galileo_e1_pcps_cccwsr_ambiguous_acquisition.h
3 * \brief Adapts a PCPS CCCWSR acquisition block to an AcquisitionInterface for
4 * Galileo E1 Signals
5 * \author Marc Molina, 2013. marc.molina.pena(at)gmail.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_CCCWSR_AMBIGUOUS_ACQUISITION_H
19#define GNSS_SDR_GALILEO_E1_PCPS_CCCWSR_AMBIGUOUS_ACQUISITION_H
20
21#include "base_pcps_acquisition_custom.h"
22
23/** \addtogroup Acquisition
24 * \{ */
25/** \addtogroup Acq_adapters
26 * \{ */
27
28/*!
29 * \brief Adapts a PCPS CCCWSR acquisition block to an AcquisitionInterface
30 * for Galileo E1 Signals
31 */
32class GalileoE1PcpsCccwsrAmbiguousAcquisition : public BasePcpsAcquisitionCustom
33{
34public:
35 GalileoE1PcpsCccwsrAmbiguousAcquisition(
36 const ConfigurationInterface* configuration,
37 const std::string& role,
38 unsigned int in_streams,
39 unsigned int out_streams);
40
41 ~GalileoE1PcpsCccwsrAmbiguousAcquisition() = default;
42
43 /*!
44 * \brief Returns "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition"
45 */
46 inline std::string implementation() override
47 {
48 return "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition";
49 }
50
51 void set_local_code() override;
52
53private:
54 // We don't implement this function since we override set_local_code
55 void code_gen_complex_sampled(own::span<std::complex<float>> /*dest*/, uint32_t /*prn*/, int32_t /*sampling_freq*/) override {}
56
57 std::vector<std::complex<float>> code_pilot_;
58 const bool cboc_;
59};
60
61
62/** \} */
63/** \} */
64#endif // GNSS_SDR_GALILEO_E1_PCPS_CCCWSR_AMBIGUOUS_ACQUISITION_H
This abstract class represents an interface to configuration parameters.
void set_local_code() override
Sets local code.
std::string implementation() override
Returns "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition".