diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 17:56:46 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 17:56:46 -0500 |
commit | a8245890a789cdb70868df57730170f57dc3668e (patch) | |
tree | 80e2973cd1b6be97768c80d8293d1f139ce8b07d /gr-digital/lib/constellation.cc | |
parent | 5c18bac20fcbdee03c332e29a676ea8f1481b5ea (diff) |
digital, blocks: some fixes to build/run after merge.
Diffstat (limited to 'gr-digital/lib/constellation.cc')
-rw-r--r-- | gr-digital/lib/constellation.cc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gr-digital/lib/constellation.cc b/gr-digital/lib/constellation.cc index 9eee1cc501..d249c493ad 100644 --- a/gr-digital/lib/constellation.cc +++ b/gr-digital/lib/constellation.cc @@ -378,6 +378,45 @@ namespace gr { /********************************************************************/ + constellation_expl_rect::sptr + constellation_expl_rect::make(std::vector<gr_complex> constellation, + std::vector<int> pre_diff_code, + unsigned int rotational_symmetry, + unsigned int real_sectors, + unsigned int imag_sectors, + float width_real_sectors, + float width_imag_sectors, + std::vector<unsigned int> sector_values) + { + return constellation_expl_rect::sptr + (new constellation_expl_rect(constellation, pre_diff_code, + rotational_symmetry, + real_sectors, imag_sectors, + width_real_sectors, width_imag_sectors, + sector_values)); + } + + constellation_expl_rect::constellation_expl_rect(std::vector<gr_complex> constellation, + std::vector<int> pre_diff_code, + unsigned int rotational_symmetry, + unsigned int real_sectors, + unsigned int imag_sectors, + float width_real_sectors, + float width_imag_sectors, + std::vector<unsigned int> sector_values) + : constellation_rect(constellation, pre_diff_code, rotational_symmetry, + real_sectors, imag_sectors, width_real_sectors, width_imag_sectors), + d_sector_values(sector_values) + { + } + + constellation_expl_rect::~constellation_expl_rect() + { + } + + /********************************************************************/ + + constellation_psk::sptr constellation_psk::make(std::vector<gr_complex> constell, std::vector<int> pre_diff_code, |