1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-17 01:39:47 +00:00
gnss-sdr/drivers/gr-dbfcttc/include/dbfcttc/raw_array.h

57 lines
1.7 KiB
C++

/* -*- c++ -*- */
/*
* Copyright 2014 <+YOU OR YOUR COMPANY+>.
*
* This 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, or (at your option)
* any later version.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#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 */