baz_fractional_resampler_ff.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2004,2007,2012-2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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.
*
* GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_FRACTIONAL_RESAMPLER_FF_H
#define INCLUDED_FRACTIONAL_RESAMPLER_FF_H
#include <gnuradio/block.h>
namespace gr {
namespace baz {
/*!
* \brief resampling MMSE filter with complex input, complex output
* \ingroup resamplers_blk
*/
class BAZ_API fractional_resampler_ff : virtual public block
{
public:
// gr::baz::fractional_resampler_ff::sptr
typedef boost::shared_ptr<fractional_resampler_ff> sptr;
/*!
* \brief Build the resampling MMSE filter (complex input, complex output)
*
* \param phase_shift The phase shift of the output signal to the input
* \param resamp_ratio The resampling ratio = input_rate / output_rate.
*/
static sptr make(/*long */double phase_shift,
/*long */double resamp_ratio);
virtual long double mu() const = 0;
virtual long double resamp_ratio() const = 0;
virtual void set_mu (long double mu) = 0;
virtual void set_resamp_ratio(long double resamp_ratio) = 0;
virtual void set_resamp_ratio(double resamp_ratio) = 0;
};
} /* namespace baz */
} /* namespace gr */
#endif /* INCLUDED_FRACTIONAL_RESAMPLER_FF_H */
BAZ_API
#define BAZ_API
Definition api.h:19
gr::baz::fractional_resampler_ff
resampling MMSE filter with complex input, complex output
Definition baz_fractional_resampler_ff.h:36
gr::baz::fractional_resampler_ff::mu
virtual long double mu() const =0
gr::baz::fractional_resampler_ff::set_mu
virtual void set_mu(long double mu)=0
gr::baz::fractional_resampler_ff::make
static sptr make(double phase_shift, double resamp_ratio)
Build the resampling MMSE filter (complex input, complex output)
gr::baz::fractional_resampler_ff::set_resamp_ratio
virtual void set_resamp_ratio(double resamp_ratio)=0
gr::baz::fractional_resampler_ff::sptr
boost::shared_ptr< fractional_resampler_ff > sptr
Definition baz_fractional_resampler_ff.h:39
gr::baz::fractional_resampler_ff::set_resamp_ratio
virtual void set_resamp_ratio(long double resamp_ratio)=0
gr::baz::fractional_resampler_ff::resamp_ratio
virtual long double resamp_ratio() const =0
gr
Definition baz_additive_scrambler_bb.h:28