23 #ifndef INCLUDED_CHANNELS_CHANNEL_MODEL_H
24 #define INCLUDED_CHANNELS_CHANNEL_MODEL_H
59 typedef boost::shared_ptr<channel_model>
sptr;
76 static sptr make(
double noise_voltage=0.0,
77 double frequency_offset=0.0,
79 const std::vector<gr_complex> &
taps=std::vector<gr_complex>(1,1),
81 bool block_tags=
false);
83 virtual void set_noise_voltage(
double noise_voltage) = 0;
84 virtual void set_frequency_offset(
double frequency_offset) = 0;
85 virtual void set_taps(
const std::vector<gr_complex> &
taps) = 0;
86 virtual void set_timing_offset(
double epsilon) = 0;
88 virtual double noise_voltage()
const = 0;
89 virtual double frequency_offset()
const = 0;
90 virtual std::vector<gr_complex>
taps()
const = 0;
91 virtual double timing_offset()
const = 0;
Include this header to use the message passing features.
Definition: logger.h:131
Basic channel simulator.
Definition: channel_model.h:55
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
boost::shared_ptr< channel_model > sptr
Definition: channel_model.h:59
#define CHANNELS_API
Definition: gr-channels/include/gnuradio/channels/api.h:30
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition: hier_block2.h:46