14 #include <gnuradio/sync_block.h> 22 fix_cc(
float mag,
float phase);
27 typedef std::shared_ptr<fix_cc>
sptr;
29 static sptr make(
float mag=0.0f,
float phase=0.0f);
33 void set_mag(
float mag) { this->d_mag = mag; }
34 void set_phase(
float phase) { this->d_phase = phase; }
36 float mag()
const {
return this->d_mag; }
37 float phase()
const {
return this->d_phase; }
39 void apply_new_corrections (pmt::pmt_t msg);
41 int work (
int noutput_items,
42 gr_vector_const_void_star &input_items,
43 gr_vector_void_star &output_items);
void set_mag(float mag)
Definition: fix_cc.h:33
#define IQBALANCE_API
Definition: api.h:17
std::shared_ptr< fix_cc > sptr
Definition: fix_cc.h:27
void set_phase(float phase)
Definition: fix_cc.h:34
float phase() const
Definition: fix_cc.h:37
float mag() const
Definition: fix_cc.h:36