1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-13 21:34:57 +00:00
gnss-sdr/drivers/gr-dbfcttc/include/dbfcttc/raw_array.h

67 lines
2.1 KiB
C
Raw Normal View History

/*!
* \file raw_array.h
* \brief GNU Radio source block to acces to experimental GNSS Array platform.
* \author Javier Arribas, 2014. jarribas(at)cttc.es
*
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2014 (see AUTHORS file for a list of contributors)
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR.
*
* GNSS-SDR is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* at your option) any later version.
*
* GNSS-SDR is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
*
* -------------------------------------------------------------------------
*/
#ifndef INCLUDED_DBFCTTC_RAW_ARRAY_H
#define INCLUDED_DBFCTTC_RAW_ARRAY_H
#include <dbfcttc/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace dbfcttc {
/*!
* \brief <+description of block+>
* \ingroup dbfcttc
*
*/
class DBFCTTC_API raw_array : virtual public gr::sync_block
{
public:
typedef boost::shared_ptr<raw_array> sptr;
/*!
* \brief Return a shared_ptr to a new instance of dbfcttc::raw_array.
*
* To avoid accidental use of raw pointers, dbfcttc::raw_array's
* constructor is in a private implementation
* class. dbfcttc::raw_array::make is the public interface for
* creating new instances.
*/
static sptr make(const char *src_device,short number_of_channels, int snapshots_per_frame, int inter_frame_delay, int sampling_freq);
};
} // namespace dbfcttc
} // namespace gr
#endif /* INCLUDED_DBFCTTC_RAW_ARRAY_H */