summaryrefslogtreecommitdiff
path: root/gr-digital/swig/digital_probe_mpsk_snr_est_c.i
diff options
context:
space:
mode:
authorTom Rondeau2011-12-30 11:35:15 -0500
committerTom Rondeau2011-12-30 11:35:15 -0500
commit6e52e9f86b40ccc38ee21068983936113e6b53dc (patch)
tree5634b85caae9bedf71b7a1e4f2e24b0f968e88ab /gr-digital/swig/digital_probe_mpsk_snr_est_c.i
parent1091192d27aab20694e1597868df4962b39ad060 (diff)
downloadgnuradio-6e52e9f86b40ccc38ee21068983936113e6b53dc.tar.gz
gnuradio-6e52e9f86b40ccc38ee21068983936113e6b53dc.tar.bz2
gnuradio-6e52e9f86b40ccc38ee21068983936113e6b53dc.zip
digital: added tag_nsamples placeholder into SNR probe block.
The intent of this block is to be able to pass messages containing the SNR at a set number of samples.
Diffstat (limited to 'gr-digital/swig/digital_probe_mpsk_snr_est_c.i')
-rw-r--r--gr-digital/swig/digital_probe_mpsk_snr_est_c.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-digital/swig/digital_probe_mpsk_snr_est_c.i b/gr-digital/swig/digital_probe_mpsk_snr_est_c.i
index fbe04cec2..93db4127a 100644
--- a/gr-digital/swig/digital_probe_mpsk_snr_est_c.i
+++ b/gr-digital/swig/digital_probe_mpsk_snr_est_c.i
@@ -24,18 +24,22 @@ GR_SWIG_BLOCK_MAGIC(digital,probe_mpsk_snr_est_c);
digital_probe_mpsk_snr_est_c_sptr
digital_make_probe_mpsk_snr_est_c(snr_est_type_t type,
+ int msg_nsamples=10000,
double alpha=0.001);
class digital_probe_mpsk_snr_est_c : public gr_sync_block
{
private:
void digital_probe_mpsk_snr_est_c(snr_est_type_t type,
+ int msg_nsamples,
double alpha);
public:
double snr();
snr_est_type_t type() const;
+ int msg_nsample() const;
double alpha() const;
void set_type(snr_est_type_t t);
+ void set_msg_nsample(int n);
void set_alpha(double alpha);
};