2011-10-01 18:45:20 +00:00
|
|
|
/*!
|
|
|
|
* \file tracking_interface.h
|
2011-12-28 21:36:45 +00:00
|
|
|
* \brief This class represents an interface to a tracking block.
|
2011-10-01 18:45:20 +00:00
|
|
|
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
|
|
|
|
*
|
|
|
|
* Abstract class for tracking interfaces. 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_TRACKING_INTERFACE_H
|
|
|
|
#define GNSS_SDR_TRACKING_INTERFACE_H
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
#include "gnss_block_interface.h"
|
2012-01-27 18:01:17 +00:00
|
|
|
#include "gnss_synchro.h"
|
2011-10-01 18:45:20 +00:00
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
/** \addtogroup Core
|
|
|
|
* \{ */
|
|
|
|
/** \addtogroup GNSS_Block_Interfaces
|
|
|
|
* \{ */
|
|
|
|
|
|
|
|
|
2018-03-03 01:03:39 +00:00
|
|
|
template <typename Data>
|
2019-02-22 09:47:24 +00:00
|
|
|
class Concurrent_Queue;
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief This abstract class represents an interface to a tracking block.
|
|
|
|
*
|
|
|
|
* Abstract class for tracking interfaces. 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class TrackingInterface : public GNSSBlockInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void start_tracking() = 0;
|
2018-10-28 10:07:53 +00:00
|
|
|
virtual void stop_tracking() = 0;
|
2012-01-27 18:01:17 +00:00
|
|
|
virtual void set_gnss_synchro(Gnss_Synchro* gnss_synchro) = 0;
|
2011-10-01 18:45:20 +00:00
|
|
|
virtual void set_channel(unsigned int channel) = 0;
|
|
|
|
};
|
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
|
|
|
|
/** \} */
|
|
|
|
/** \} */
|
2020-02-08 09:10:46 +00:00
|
|
|
#endif // GNSS_SDR_TRACKING_INTERFACE_H
|