summaryrefslogtreecommitdiff
path: root/gr-digital/lib/constellation_receiver_cb_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-3/+3
|
* Add `override` for common virtual function overridesThomas Habets2020-11-031-1/+1
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* Fix typos throughout the codeluzpaz2020-10-291-1/+1
| | | | | | | * Fix various typos Found via `codespell v2.0.dev` `codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk`
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Replace many `const` variables with `constexpr`Thomas Habets2020-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constexpr is like const but (for variables) guarantees evaluation at compile time (as opposed to runtime). Likely this change will do nothing on its own (though it could, since it gives the compiler more information). But it still has benefits. It allows programmer to know that initialization is not expensive (it was done at compile time), and reduces risk of a refactoring regressing the compiletimeness. Runtime initialization can be nonobvious in larger codebases. E.g.: struct S { static int foo(); }; const int bar = S::foo(); // Called and initialized at *runtime*. int S::foo() { return 10; } With constexpr: struct S { static constexpr int foo(); }; constexpr int bar = S::foo(); // Error: used before definition. constexpr int S::foo() { return 10; } Initializing at runtime is not just startup costs, but also can save memory since it'll end up in a R/O section of a binary and therefore doesn't need to be swapped out, but can be shared (in the mmap() sense of the word).
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-57/+57
|
* Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-3/+0
|
* math: replace M_PI and derivatives with GR_M_PI definesAndrej Rode2018-02-171-2/+3
|
* digital: addresses issue #876.Tom Rondeau2016-01-271-2/+1
| | | | | | | | | | The constellation receiver controlport interface was modeled after the costas_loop_cc block, but the inheritance of the two blocks to control_loop was different. This changes the inheritance of constellation_reciever_cb. It also fixes the name of the "loop_bw" parameter to be consistent between the set and get ControlPort interfaces.
* digital: adding a rotate_phase message for the constellation_receiver to ↵Tom Rondeau2014-06-251-0/+13
| | | | | | adjust the phase of the constellation. Addresses Issue #599.
* digital: expose set_constellation message port in GRC for ↵Tom Rondeau2014-06-241-3/+3
| | | | | | constellation_receiver. Also cleans up white spaces.
* digital: Fix CID 1043268 and 1043271Martin Braun2013-11-221-2/+0
|
* digital: adding message handler to send a new constellation to the ↵Tom Rondeau2013-10-291-0/+12
| | | | constellation_receiver as a message. Also adds ControlPort interfaces.
* digital: moved include dir to gnuradio/digitalJohnathan Corgan2013-04-291-1/+1
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-3/+3
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-1/+1
| | | | PMTs are handled slightly different and are installed into their own module and include dir.
* blocks: removing gri_control_loop; using gr::blocks::control_loop now.Tom Rondeau2013-03-101-2/+2
|
* digital: converted over constellation and related blocks.Tom Rondeau2012-08-111-0/+70
Possibly still a work-in-progress. Need to convert over some more before QA can be run.