Loading...
Searching...
No Matches
correctiq_swapiq.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2020 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_CORRECTIQ_SWAPIQ_H
#define INCLUDED_CORRECTIQ_SWAPIQ_H
#include <gnuradio/blocks/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace blocks {
/*!
* \brief This block will transpose the I and Q channels (Swap IQ) to
* \p correct for spectrally inverted inputs.
* \ingroup iq_correction
*
*/
class BLOCKS_API swap_iq : virtual public gr::sync_block
{
public:
typedef std::shared_ptr<swap_iq> sptr;
/*!
* \brief Return a shared_ptr to a new instance of correctiq::swap_iq.
*
* To avoid accidental use of raw pointers, correctiq::swap_iq's
* constructor is in a private implementation
* class. correctiq::swap_iq::make is the public interface for
* creating new instances.
*/
static sptr make(int datatype, int datasize);
};
} // namespace blocks
} // namespace gr
#endif /* INCLUDED_CORRECTIQ_SWAPIQ_H */
gr::blocks::swap_iq
This block will transpose the I and Q channels (Swap IQ) to correct for spectrally inverted inputs.
Definition correctiq_swapiq.h:27
gr::blocks::swap_iq::sptr
std::shared_ptr< swap_iq > sptr
Definition correctiq_swapiq.h:29
gr::blocks::swap_iq::make
static sptr make(int datatype, int datasize)
Return a shared_ptr to a new instance of correctiq::swap_iq.
gr::sync_block
synchronous 1:1 input to output with history
Definition sync_block.h:26
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_block.h