22#ifndef INCLUDED_IQBALANCE_FIX_CC_H
23#define INCLUDED_IQBALANCE_FIX_CC_H
26#include <gnuradio/sync_block.h>
34 fix_cc(
float mag,
float phase);
39 typedef boost::shared_ptr<fix_cc>
sptr;
41 static sptr make(
float mag=0.0f,
float phase=0.0f);
45 void set_mag(
float mag) { this->d_mag = mag; }
46 void set_phase(
float phase) { this->d_phase = phase; }
48 float mag()
const {
return this->d_mag; }
49 float phase()
const {
return this->d_phase; }
53 int work (
int noutput_items,
54 gr_vector_const_void_star &input_items,
55 gr_vector_void_star &output_items);
#define IQBALANCE_API
Definition: api.h:30
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
float phase() const
Definition: fix_cc.h:49
void apply_new_corrections(pmt::pmt_t msg)
float mag() const
Definition: fix_cc.h:48
static sptr make(float mag=0.0f, float phase=0.0f)
boost::shared_ptr< fix_cc > sptr
Definition: fix_cc.h:39
void set_phase(float phase)
Definition: fix_cc.h:46
void set_mag(float mag)
Definition: fix_cc.h:45