summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_strobe_random_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-10/+10
|
* blocks/message_strobe: Use atomic for thread syncThomas Habets2020-08-141-1/+2
|
* blocks/message_strobe: Remove manual memory managementThomas Habets2020-08-141-1/+1
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-011-1/+1
| | | | | | | | | | | | | | | | | | | 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-271-13/+1
|
* message_strobe_random: replace boost::random with C++11Marcus Müller2020-01-021-32/+13
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-091-32/+47
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-1/+1
|\
| * Unbreak boost 1.67. Constrain the delay in message_strobe to integer ↵Peter Horvath2018-07-081-1/+1
| | | | | | | | milliseconds.
* | blocks: remove unnecessary call to pmt::intern at runtimeMarcus Müller2018-02-231-0/+2
|/ | | | | | | | | | | | | | typical usage: message_port_pub(pmt::mp("out_port"), …) which is bad, as it implies hashing of a string, allocation of memory, deallocation, finding the hashed string in the table of interned strings and returning a unique pointer (which for reasons of PMT awesomeness isn't even unique) to the interned port name. Replacing all these port name ad hoc ::mp() calls by reusing one, private, port name member.
* blocks: switching last calls from boost::thread to gr::thread.Tom Rondeau2014-09-301-1/+1
| | | | | | There are a few places where the threads are specifically used by boost::thread calls in the namespace. If we ever move away from using boost's threads, we might have some more specific cleanup to do, but it's not obvious how to easily abstract this further. Addresses Issue # 706.
* made the usage of mt19937 Boost-pre-1.47 compatibleMarcus Müller2014-03-311-1/+1
| | | | | | "correct" namespace is boost::random::, but mt19937 still exists in boost::, so fixing this was just using the same name like in the other files that use mt19937
* message_strobe_random_impl.h: typo in include guard; is taken from ↵Marcus Müller2014-02-221-3/+3
| | | | not-_random version.
* blocks: random_pdu (speedup, also allow a byte mask), message_strobe_random ↵Tim O'Shea2014-02-161-0/+73
(new block, send messages with a known timing distribution)