summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/nop_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded boost includes and avoid boost depreciated warningsVolker Schroer2021-02-071-1/+0
| | | | Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* 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
* msg_handler: Use lambdas to set msg handlersJohannes Demel2020-06-041-3/+2
| | | | | With this commit, all calls to `set_msg_handler` in `gr-blocks` use lambdas. This helps to use `std::function` instead of `boost::function`.
* msg_handler: Switch from boost::function to std::functionJohannes Demel2020-06-041-2/+3
| | | | | | | This commit is a first stab at moving from `boost::function` to `std::function`. For now, it does only update gr-blocks. Also, this requires more testing. If others can confirm that this change works, I'll continue to update all modules.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Use emplace_back(params) instead of push_back(type(params))Marcus Müller2019-08-221-12/+11
| | | | | | | | | | | | | | | | | | | This is C++11: you can convert std::vector<complextype> vec; vec.push_back(complextype(foo, bar, baz)); by std::vector<complextype> vec; vec.emplace_back(foo, bar, baz); which saves one unnecessary copy. This mostly happened in rpc code. The automated clang-tidy check failed miserably, so most of this was done by hand.
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-56/+55
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-4/+4
|
* blocks: converting references to vector source/sink, null source/sink, nop, ↵Tom Rondeau2013-03-171-0/+22
| | | | copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
* blocks: moved nop, null source/sink, copy, vector_map to gr-blocks.Tom Rondeau2013-03-161-0/+78