summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/socket_pdu_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* gr-blocks: remove pdu blocksJacob Gilbert2021-03-181-68/+0
| | | | | | | | | | | | | | | | | | | | | | | | The following have been moved to the new gr::pdu module or to gr::network and are no longer needed in gr::blocks: - pdu (noblock) - pdu_filter block - pdu_remove block - pdu_set block - pdu_to_tagged_stream block - random_pdu block - socket_pdu block - stream_pdu_base (noblock) - tagged_stream_to_pdu block - tcp_connection (noblock) - tuntap_pdu block The digital and FEC modules had a large number of references to the PDU blocks that were moved from gr-blocks to gr-pdu, this updates these changes in example flowgraphs and a few python files. The usage-manual update will be propagated to the wiki so that future exports will remain up to date. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-2/+2
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-011-3/+3
| | | | | | | | | | | | | | | | | | | 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>`.
* blocks: Add const to member variables that don't changeThomas Habets2020-03-261-1/+1
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-34/+41
|
* Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-1/+0
|
* Fix invalid Asio buffer usage in tcp_connectionBrian Orr2017-08-091-1/+0
| | | | | | | | | Asio requires that the underlying buffer passed to `async_write()` remain valid valid until the handler was called. The previous version was allocating a vector on the stack which gets destroyed once the `send()` method returns. Added a unit test for TCP server.
* blocks: fix destruction and shutdown for socket_pduNathan West2015-10-071-1/+6
| | | | | | This removes the inheritance from stream_pdu_base and stop the io_service and internal service thread when stop() and dtor are called.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-1/+1
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* blocks: added 'MTU' and 'tcp_no_delay' params for 'socket_pdu' (and GRC ↵Balint Seeber2014-03-271-2/+3
| | | | | | option), applied MTU (buffer size) to TCP/UDP send, separate TCP/UDP server endpoint resolvers for empty/0.0.0.0 Host param (listen on all interfaces) Whitespace clean-up.
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-1/+1
|
* blocks: added gr::blocks::socket_pduJohnathan Corgan2013-02-281-0/+69