summaryrefslogtreecommitdiff
path: root/gr-channels/include
Commit message (Collapse)AuthorAgeFilesLines
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-018-8/+8
| | | | | | | | | | | | | | | | | | | Most of this code is automated code changes: ``` set -e SUB="s/dummy/dummy/" for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do SUB="$SUB;s/boost::$i/std::$i/g" done SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g" SUB="$SUB;s^namespace boost^namespace std^g" find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB" ``` Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add `#include <algorithm>`.
* Update license header to SPDX formatdevnulling2020-01-2710-130/+10
|
* channels: doxygen correctionsValerii Zapodovnikov2020-01-161-4/+3
| | | twice wrong name and one copy-paste error
* Replace many `const` variables with `constexpr`Thomas Habets2020-01-042-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* channels: models' random facilities use C++11 (minus boost)Marcus Müller2020-01-022-10/+14
|
* 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-099-408/+396
|
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-1/+0
| | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* Merge branch 'master' into nextJohnathan Corgan2016-06-201-1/+1
|\ | | | | | | | | | | Conflicts: gr-atsc/lib/qa_atsci_fake_single_viterbi.cc gr-atsc/lib/qa_atsci_single_viterbi.cc
| * Spelling fixes throughout the tree.A. Maitland Bottoms2016-06-201-1/+1
| |
* | channels: adding selective fading model 2 (PDP slowly changes without bounds ↵Tim O'Shea2016-06-042-0/+91
|/ | | | as well so fades move ...)
* Typos: Sinusiods in channel model docsMarcus Müller2015-04-252-5/+5
| | | | also, unified capitalization in \li items.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-077-17/+17
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* docs: fixed/modifying/adding documentation for blocks a-l.Tom Rondeau2013-11-232-11/+18
|
* channels: setting up callbacks for most dynamic channel model parameters in GRCTim O'Shea2013-11-083-0/+34
|
* channels: new block documentation/grc cleanup, dynamic fading model AWGN ↵Tim O'Shea2013-11-083-29/+48
| | | | ampl bug fix
* Adding models for sample rate and center frequency driftTim O'Shea2013-11-073-0/+213
| | | | Adding hier block "dynamic channel" model which combines these with AWGN and frequency selective fading
* channels: Added option to block tags from propagatingMartin Braun2013-10-272-3/+10
|
* channels: added second channel model that takes in a function to change ↵Tom Rondeau2013-08-272-0/+103
| | | | freq/timing offsets.
* docs: added more documentation to the channel models page explaining the ↵Tom Rondeau2013-08-022-13/+13
| | | | | | diffenerent models available. Includes discussion of the new HW impairments model that is Pytho-only.
* docs: fixed doxygen warnings by adding missing parameters.Tom Rondeau2013-06-101-0/+3
|
* channels: new frequency selective fading blockTim O'Shea2013-06-062-0/+83
|
* channels: moved include dir to gnuradio/channelsJohnathan Corgan2013-04-294-2/+2
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-293-7/+7
|
* grc: fixing up new next structure blocks for GRC categories.Tom Rondeau2013-04-042-3/+4
| | | | docs: also updating Doxygen category for all new/moved blocks.
* 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.
* channels: fix for phase imbalance/alias in the specular component for Rician ↵Tim O'Shea2013-02-171-0/+2
| | | | channels, switch phase accumulator to double precision, exporting step size to grcp
* channels: updating copyright year.Tom Rondeau2013-02-141-1/+1
|
* channels: adding Rayliegh/Rician fading modelTim O'Shea2013-02-142-0/+74
|
* Merge branch 'master' into nextTom Rondeau2013-02-061-4/+4
| | | | | | | | | | | Merges fastnoise_source from master and reorganizes it to gr-analog. Conflicts: gnuradio-core/src/lib/general/CMakeLists.txt gnuradio-core/src/lib/general/general.i gnuradio-core/src/lib/gengen/CMakeLists.txt gnuradio-core/src/lib/hier/gr_channel_model.cc gnuradio-core/src/lib/hier/gr_channel_model.h
* channels: adding new component gr-channels to hold channel models.Tom Rondeau2012-11-103-0/+149
Currently, only holds our simple channel_model block.