summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/c++
Commit message (Collapse)AuthorAgeFilesLines
* global: remove iostream from all files not use cout|cerr|cin|clogMarcus Müller2021-06-172-2/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* uhd/tag_sink_demo: Use log mechanism instead of stdoutMarcus Müller2021-02-181-6/+10
| | | | | | | I think this is an excellent place to illustrate how to log without overloading new users with complexity. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* uhd: Remove (almost all) occurrences of BoostMartin Braun2021-02-052-5/+6
| | | | | | | | | | The following usages of Boost remain: - boost::format - boost::program_options for the examples - Boost thread interruption directives to interact with GNU Radio runtime Signed-off-by: Martin Braun <martin@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-032-2/+2
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-011-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>`.
* Replace BOOST_FOREACH with C++11 range forThomas Habets2020-03-272-3/+1
|
* Update license header to SPDX formatdevnulling2020-01-274-52/+4
|
* delete unused variablesBastian Bloessl2019-09-051-2/+4
|
* clang-format: Ordering all the includesMarcus Müller2019-08-093-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-093-105/+116
|
* gr-uhd: Replaced not with !gnieboer2019-06-061-1/+1
|
* cmake: Update to modern CMake usageAndrej Rode2019-03-041-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* cleanup: use quotes for local includesAndrej Rode2019-02-011-3/+3
| | | | Local includes are not found if defined in angle brackets.
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-1/+0
|\
| * 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.
* | Fix Boost 1.67 linking issueskarel-2018-06-251-1/+1
|/ | | Fixes "undefined reference to `pthread_condattr_setclock'"
* uhd: Fix for CID 1090026 thru -33Martin Braun2015-04-281-1/+2
|
* uhd: changed length_tag member variable from string to pmt symbolSean Nowlan2014-04-261-10/+10
|
* uhd: fixed tags_demoSean Nowlan2014-04-261-1/+1
|
* gr-uhd: added tagged stream supportSean Nowlan2014-04-262-7/+43
|
* uhd: moved include dir to gnuradio/uhdJohnathan Corgan2013-04-301-2/+2
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-293-21/+26
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-1/+0
| | | | PMTs are handled slightly different and are installed into their own module and include dir.
* runtime: migrate remaining gnuradio-core contents into gnuradio-runtimeJohnathan Corgan2013-03-261-1/+1
|
* uhd: converted gr-uhd to v3.7 style.Tom Rondeau2013-02-191-8/+6
|
* Merge master/fix_build_dir_order into next, then fix conflicts and redo come ↵Michael L Dickens2013-01-041-5/+5
|\ | | | | | | of the INCLUDE_DIRS order
| * Tweak INCLUDE dirs such that INCLUDE_DIRECTORIES and LINK_DIRECTORIES are ↵Michael L Dickens2013-01-011-5/+5
| | | | | | | | ordered as: internal build and source for this component, other components (internal build and source, or already installed), non-project non-system dependencies (e.g., Qt, Boost, Python), system dependencies (e.g., CoreAudio).
* | gruel: updating all GR blocks that use PMTs to use new naming.Tom Rondeau2012-12-212-12/+12
|/
* uhd: fix pmt tuple ref namespace issueJosh Blum2012-10-131-2/+2
| | | | | | | The pmt_tuple_ref should be prefixed with pmt:: just like all of the other calls. I am uncertain as to why this is compiling (we are not using namespace pmt), unless there is a hidden using namespace somewhere in a global header. But it will be good to get the code right as a general purpose example.
* Removed whitespace and added dtools/bin/remove-whitespace as a tool to do ↵Tom Rondeau2012-04-133-12/+12
| | | | | | this in the future. The sed script was provided by Moritz Fischer.
* examples: Reworked locations and installation of examples.Tom Rondeau2012-04-034-0/+378
All python and GRC examples directly associated with a top-level component are now in that examples directory. Examples are split into c++, python, and grc dirs but are all installed into $prefix/share/gnuradio/examples/<component>.