diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 22:21:18 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | d24b0c8f1ebe1a9681271c014659bf2ecc613e50 (patch) | |
tree | a18051dccba5266904571dce8a93128ad62e8453 /gr-uhd/examples/c++ | |
parent | 65599ad299f030d302386fcda9bc0e3175d9a828 (diff) |
clang-format: Ordering all the includes
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
Diffstat (limited to 'gr-uhd/examples/c++')
-rw-r--r-- | gr-uhd/examples/c++/tag_sink_demo.h | 4 | ||||
-rw-r--r-- | gr-uhd/examples/c++/tag_source_demo.h | 8 | ||||
-rw-r--r-- | gr-uhd/examples/c++/tags_demo.cc | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/gr-uhd/examples/c++/tag_sink_demo.h b/gr-uhd/examples/c++/tag_sink_demo.h index 8919a2d6b5..ece180ae0c 100644 --- a/gr-uhd/examples/c++/tag_sink_demo.h +++ b/gr-uhd/examples/c++/tag_sink_demo.h @@ -19,12 +19,12 @@ * Boston, MA 02110-1301, USA. */ -#include <gnuradio/sync_block.h> #include <gnuradio/io_signature.h> +#include <gnuradio/sync_block.h> #include <boost/foreach.hpp> #include <boost/format.hpp> -#include <iostream> #include <complex> +#include <iostream> class tag_sink_demo : public gr::sync_block { diff --git a/gr-uhd/examples/c++/tag_source_demo.h b/gr-uhd/examples/c++/tag_source_demo.h index e176da828d..9211bf5f04 100644 --- a/gr-uhd/examples/c++/tag_source_demo.h +++ b/gr-uhd/examples/c++/tag_source_demo.h @@ -19,12 +19,12 @@ * Boston, MA 02110-1301, USA. */ -#include <gnuradio/sync_block.h> #include <gnuradio/io_signature.h> +#include <gnuradio/sync_block.h> #include <boost/foreach.hpp> #include <boost/format.hpp> -#include <iostream> #include <complex> +#include <iostream> class tag_source_demo : public gr::sync_block { @@ -116,8 +116,8 @@ public: this->make_length_tag(this->nitems_written(0), _samps_left_in_burst); #else // Test usrp_sink's ability to cancel remainder of burst if new length_tag - // is found early sets burst time to 10% greater than the cycle duration to - // guarantee early length_tag In a real implementation the user should + // is found early sets burst time to 10% greater than the cycle duration + // to guarantee early length_tag In a real implementation the user should // guard against this so that the number of samples promised by the // length_tag are actually processed by the usrp_sink. this->make_length_tag(this->nitems_written(0), diff --git a/gr-uhd/examples/c++/tags_demo.cc b/gr-uhd/examples/c++/tags_demo.cc index e6da6a2600..f44915c0c0 100644 --- a/gr-uhd/examples/c++/tags_demo.cc +++ b/gr-uhd/examples/c++/tags_demo.cc @@ -19,15 +19,15 @@ * Boston, MA 02110-1301, USA. */ -#include "tag_source_demo.h" #include "tag_sink_demo.h" +#include "tag_source_demo.h" #include <gnuradio/top_block.h> -#include <gnuradio/uhd/usrp_source.h> #include <gnuradio/uhd/usrp_sink.h> +#include <gnuradio/uhd/usrp_source.h> #include <uhd/utils/safe_main.hpp> #include <boost/make_shared.hpp> -#include <boost/thread/thread.hpp> //sleep #include <boost/program_options.hpp> +#include <boost/thread/thread.hpp> //sleep #include <csignal> #include <iostream> |