GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
gps_l1_ca_pcps_tong_acquisition.h
Go to the documentation of this file.
1/*!
2 * \file gps_l1_ca_pcps_tong_acquisition.h
3 * \brief Adapts a PCPS Tong acquisition block to an AcquisitionInterface for
4 * GPS L1 C/A 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_GPS_L1_CA_TONG_ACQUISITION_H
19#define GNSS_SDR_GPS_L1_CA_TONG_ACQUISITION_H
20
21#include "base_pcps_acquisition_custom.h"
22
23/** \addtogroup Acquisition
24 * \{ */
25/** \addtogroup Acq_adapters
26 * \{ */
27
28/*!
29 * \brief This class adapts a PCPS Tong acquisition block to an
30 * AcquisitionInterface for GPS L1 C/A signals
31 */
32class GpsL1CaPcpsTongAcquisition : public BasePcpsAcquisitionCustom
33{
34public:
35 GpsL1CaPcpsTongAcquisition(const ConfigurationInterface* configuration,
36 const std::string& role,
37 unsigned int in_streams,
38 unsigned int out_streams);
39
40 ~GpsL1CaPcpsTongAcquisition() = default;
41
42 /*!
43 * \brief Returns "GPS_L1_CA_PCPS_Tong_Acquisition"
44 */
45 inline std::string implementation() override
46 {
47 return "GPS_L1_CA_PCPS_Tong_Acquisition";
48 }
49
50private:
51 void code_gen_complex_sampled(own::span<std::complex<float>> dest, uint32_t prn, int32_t sampling_freq) override;
52};
53
54
55/** \} */
56/** \} */
57#endif // GNSS_SDR_GPS_L1_CA_TONG_ACQUISITION_H
This abstract class represents an interface to configuration parameters.
std::string implementation() override
Returns "GPS_L1_CA_PCPS_Tong_Acquisition".