summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/delay_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-1/+1
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* gr-blocks: Add Msg Port to Delay Blockghostop142020-03-291-2/+24
| | | | | | | These updates add the ability to set the block delay value with an asynchronous message. In this manner, blocks doing calculations such as those for DoA or antenna arrays can provide delay updates only when needed.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-77/+69
|
* blocks: delay block cannot be initialized with a negative number.Tom Rondeau2014-08-141-0/+3
| | | | | This commit puts in a check in the constructor and better documentation about the behavior.
* runtime: changed name from set_group_delay to declare_sample_delay.Tom Rondeau2013-11-011-1/+1
|
* Updated some blocks for the group_delay concept.Tom Rondeau2013-10-291-1/+1
| | | | | | | | filter: FFT and (decim/interp) FIR filters can set through GRC. blocks: delay block's group delay is fixed to the delay value. qtgui: time sinks history is related to the group delay for displaying tags.
* runtime: for blocks with a group delay, tag location should be moved ↵Tom Rondeau2013-10-291-0/+1
| | | | | | according to the delay. Since group delay is often unknown, we have added a new function set_group_delay to allow the user to set the value once delay is calculated. Also added ability to set the tag propagation delay, which is required for how the blocks::delay works.
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-4/+4
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-2/+2
| | | | PMTs are handled slightly different and are installed into their own module and include dir.
* blocks: converting blocks to v3.7 style in gr-blocks.Tom Rondeau2013-02-211-0/+141
delay, rms, unpacked_to_packed, packed_to_unpacked