Loading...
Searching...
No Matches
interleaved_short_to_complex.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_BLOCKS_INTERLEAVED_SHORT_TO_COMPLEX_H
#define INCLUDED_BLOCKS_INTERLEAVED_SHORT_TO_COMPLEX_H
#include <gnuradio/blocks/api.h>
#include <gnuradio/sync_decimator.h>
namespace gr {
namespace blocks {
/*!
* \brief Convert stream of interleaved shorts to a stream of complex
* \ingroup type_converters_blk
*/
class BLOCKS_API interleaved_short_to_complex : virtual public sync_decimator
{
public:
// gr::blocks::interleaved_short_to_complex::sptr
typedef std::shared_ptr<interleaved_short_to_complex> sptr;
/*!
* Build an interleaved short to complex block.
*/
static sptr
make(bool vector_input = false, bool swap = false, float scale_factor = 1.0f);
virtual void set_swap(bool swap) = 0;
virtual void set_scale_factor(float new_value) = 0;
};
} /* namespace blocks */
} /* namespace gr */
#endif /* INCLUDED_BLOCKS_INTERLEAVED_SHORT_TO_COMPLEX_H */
gr::blocks::interleaved_short_to_complex
Convert stream of interleaved shorts to a stream of complex.
Definition interleaved_short_to_complex.h:25
gr::blocks::interleaved_short_to_complex::set_swap
virtual void set_swap(bool swap)=0
gr::blocks::interleaved_short_to_complex::sptr
std::shared_ptr< interleaved_short_to_complex > sptr
Definition interleaved_short_to_complex.h:28
gr::blocks::interleaved_short_to_complex::set_scale_factor
virtual void set_scale_factor(float new_value)=0
gr::blocks::interleaved_short_to_complex::make
static sptr make(bool vector_input=false, bool swap=false, float scale_factor=1.0f)
gr::sync_decimator::sync_decimator
sync_decimator(void)
Definition sync_decimator.h:31
api.h
BLOCKS_API
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks
Definition abs_blk.h:20
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_decimator.h