From 46e9dfed237990da20b5fb054b7fd33b1c152b4a Mon Sep 17 00:00:00 2001 From: Achilleas Anastasopoulos <anastas@umich.edu> Date: Wed, 1 Oct 2014 17:51:12 -0400 Subject: Added set_ methods for most parameters in (almost) all gr-trellis blocks Added FSM functionality + minor fixes --- gr-trellis/lib/permutation_impl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gr-trellis/lib/permutation_impl.h') diff --git a/gr-trellis/lib/permutation_impl.h b/gr-trellis/lib/permutation_impl.h index 2c7b28d62f..5c74fba8fd 100644 --- a/gr-trellis/lib/permutation_impl.h +++ b/gr-trellis/lib/permutation_impl.h @@ -43,10 +43,14 @@ namespace gr { ~permutation_impl(); int K() const { return d_K; } - const std::vector<int> & TABLE() const { return d_TABLE; } + std::vector<int> TABLE() const { return d_TABLE; } int SYMS_PER_BLOCK() const { return d_SYMS_PER_BLOCK; } size_t BYTES_PER_SYMBOL() const { return d_BYTES_PER_SYMBOL; } + void set_K(int K) ; + void set_TABLE (const std::vector<int> &table) {d_TABLE = table; } + void set_SYMS_PER_BLOCK(int spb) ; + int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); -- cgit v1.2.3