2011-10-01 18:45:20 +00:00
|
|
|
/*!
|
|
|
|
* \file channel_interface.h
|
|
|
|
* \brief This class represents an interface to a channel GNSS block.
|
|
|
|
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
|
|
|
|
* Luis Esteve, 2011. luis(at)epsilon-formacion.com
|
|
|
|
*
|
|
|
|
* Abstract class for channel blocks. Since all its methods are virtual,
|
|
|
|
* this class cannot be instantiated directly, and a subclass can only be
|
|
|
|
* instantiated directly if all inherited pure virtual methods have been
|
|
|
|
* implemented by that class or a parent class.
|
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2011-10-01 18:45:20 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
2011-10-01 18:45:20 +00:00
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
2020-02-08 00:20:02 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2011-10-01 18:45:20 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2011-10-01 18:45:20 +00:00
|
|
|
*/
|
|
|
|
|
2020-02-08 09:10:46 +00:00
|
|
|
#ifndef GNSS_SDR_CHANNEL_INTERFACE_H
|
|
|
|
#define GNSS_SDR_CHANNEL_INTERFACE_H
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
#include "gnss_block_interface.h"
|
2012-01-27 11:58:55 +00:00
|
|
|
#include "gnss_signal.h"
|
2011-10-01 18:45:20 +00:00
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
/** \addtogroup Core
|
|
|
|
* \{ */
|
|
|
|
/** \addtogroup GNSS_Block_Interfaces
|
|
|
|
* \{ */
|
|
|
|
|
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
/*!
|
|
|
|
* \brief This abstract class represents an interface to a channel GNSS block.
|
|
|
|
*
|
2012-01-16 18:27:31 +00:00
|
|
|
* Abstract class for channel blocks. Since all its methods are pure virtual,
|
2011-10-01 18:45:20 +00:00
|
|
|
* this class cannot be instantiated directly, and a subclass can only be
|
|
|
|
* instantiated directly if all inherited pure virtual methods have been
|
|
|
|
* implemented by that class or a parent class.
|
|
|
|
*/
|
2018-03-03 01:03:39 +00:00
|
|
|
class ChannelInterface : public GNSSBlockInterface
|
2011-10-01 18:45:20 +00:00
|
|
|
{
|
|
|
|
public:
|
2018-12-03 16:58:18 +00:00
|
|
|
virtual gr::basic_block_sptr get_left_block_trk() = 0;
|
2020-10-09 18:55:31 +00:00
|
|
|
virtual gr::basic_block_sptr get_right_block_trk() = 0;
|
2018-12-03 16:58:18 +00:00
|
|
|
virtual gr::basic_block_sptr get_left_block_acq() = 0;
|
2020-10-09 18:55:31 +00:00
|
|
|
virtual gr::basic_block_sptr get_right_block_acq() = 0;
|
2018-12-03 16:58:18 +00:00
|
|
|
virtual gr::basic_block_sptr get_left_block() = 0;
|
|
|
|
virtual gr::basic_block_sptr get_right_block() = 0;
|
2012-01-27 11:58:55 +00:00
|
|
|
virtual Gnss_Signal get_signal() const = 0;
|
2011-10-01 18:45:20 +00:00
|
|
|
virtual void start_acquisition() = 0;
|
2019-07-23 15:56:02 +00:00
|
|
|
virtual void assist_acquisition_doppler(double Carrier_Doppler_hz) = 0;
|
2018-10-28 10:07:53 +00:00
|
|
|
virtual void stop_channel() = 0;
|
2015-05-15 16:19:10 +00:00
|
|
|
virtual void set_signal(const Gnss_Signal&) = 0;
|
2011-10-01 18:45:20 +00:00
|
|
|
};
|
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
|
|
|
|
/** \} */
|
|
|
|
/** \} */
|
2020-02-08 09:10:46 +00:00
|
|
|
#endif // GNSS_SDR_CHANNEL_INTERFACE_H
|