mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-10-31 23:26:22 +00:00
7308745f05
Re-license CMake scripts with BSD-3-Clause
60 lines
1.8 KiB
C++
60 lines
1.8 KiB
C++
/*!
|
|
* \file tracking_interface.h
|
|
* \brief This class represents an interface to a tracking block.
|
|
* \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.
|
|
*
|
|
* -----------------------------------------------------------------------------
|
|
*
|
|
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
|
|
* This file is part of GNSS-SDR.
|
|
*
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*
|
|
* -----------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
#ifndef GNSS_SDR_TRACKING_INTERFACE_H
|
|
#define GNSS_SDR_TRACKING_INTERFACE_H
|
|
|
|
#include "gnss_block_interface.h"
|
|
#include "gnss_synchro.h"
|
|
|
|
/** \addtogroup Core
|
|
* \{ */
|
|
/** \addtogroup GNSS_Block_Interfaces
|
|
* \{ */
|
|
|
|
|
|
template <typename Data>
|
|
class Concurrent_Queue;
|
|
|
|
/*!
|
|
* \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;
|
|
virtual void stop_tracking() = 0;
|
|
virtual void set_gnss_synchro(Gnss_Synchro* gnss_synchro) = 0;
|
|
virtual void set_channel(unsigned int channel) = 0;
|
|
};
|
|
|
|
|
|
/** \} */
|
|
/** \} */
|
|
#endif // GNSS_SDR_TRACKING_INTERFACE_H
|