summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/pmt
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Replace boost::any with std::any"Josh Morman2021-11-061-6/+7
| | | | This reverts commit ccd28dfbb1504fdc29db267acd8aa3354fe10cd2.
* Replace boost::any with std::anyMarcus Müller2021-10-281-7/+6
| | | | | | | | This is a modernization possible through C++17 Fixes #4780 Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* pmt: remove extra, mis-named pmt::pmt_ functionsJeff Long2021-05-191-14/+0
| | | | Signed-off-by: Jeff Long <willcode4@gmail.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* C++14: Use std::make_unique instead of boost::make_uniqueMarcus Müller2021-01-041-1/+0
| | | | | | Also, clean up includes Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* pybind: run clang-formatJosh Morman2020-06-041-2/+2
|
* pmt: change modifiers for pmt_baseJosh Morman2020-06-041-1/+2
|
* pmt: stop treating all pairs like they are dictsJacob Gilbert2020-05-051-2/+14
| | | | create a new derived class for pmt dicts so they can be distinguished without complicated try/catch logic, updated QA with a few additional checks. also added an is_pdu() method which returns true if the pmt is a pair of a dict-type PMT and a uniform-vector type, otherwise false
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-012-5/+5
| | | | | | | | | | | | | | | | | | | 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>`.
* pmt: Fix RuntimeError in pmt_to_pythonMichael Byers2020-02-091-1/+1
| | | | | | | Python has a RuntimeError that's thrown during the pmt to_python function. Instead of throwing this error, SWIG has been updated to throw a TypeError. This allows us to keep the same behavior whereby we iterate over PMT types until the proper conversion is found
* Update license header to SPDX formatdevnulling2020-01-276-80/+6
|
* pmt: remove dead typo codeJosh Morman2020-01-171-10/+0
| | | | | Class with misspelling comperator had been replaced with the proper spelling comparator and a note to remove in 3.8. Removing it here
* clang-format: Ordering all the includesMarcus Müller2019-08-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-094-325/+378
|
* pmt: hide pmt_base class from public interfaceAndrej Rode2019-04-191-1/+1
|
* pmt: remove intrusive_ptrAndrej Rode2019-04-191-6/+37
|
* pmt: Add support for serializing/deserializing signed int64sScott Torborg2019-01-261-0/+1
|
* pmt: replace file generation with pre-generated filesAndrej Rode2018-08-262-0/+63
|
* Merge branch 'master' into nextMartin Braun2018-02-031-3/+3
|\
| * Comment typo fixing.luz.paz2018-02-031-3/+3
| | | | | | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* | cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-1/+1
|/ | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* pmt::is_dict() and is_pair() both return true for both dictionaries and ↵Jacob Gilbert2016-03-101-2/+2
| | | | pairs. This causes issues as one may believe they have a dictionary pmt and attempt to reference it's keys (which will throw an exception for a pair). This simply serves to document this behavior
* pmt: moves the rest of the PMT constants from static globals to using get_ ↵Tom Rondeau2015-02-261-6/+19
| | | | functions.
* pmt: Added float conversionMartin Braun2014-09-041-0/+10
| | | | | | Added to_float() and from_float(). These are basically aliases for *_double() with a type cast for when strict typing is necessary (e.g. SWIG won't accept an f32 value when using from_double()).
* runtime: mods for pmt's NIL.Tom Rondeau2014-06-281-1/+2
|
* Merge branch 'uint64_sugar' of git://github.com/osh/gnuradioJohnathan Corgan2014-05-231-2/+8
|\
| * pmt: making uint64_t sugar more friendlyTim O'Shea2014-05-191-3/+3
| |
| * pmt: adding uint64 sugarTim O'Shea2014-05-141-0/+6
| |
* | pmt: adding pmt.uniform_vector_itemsize(pmt_t vector), returns the size per ↵Tim O'Shea2014-05-141-0/+3
|/ | | | item in bytes within a uniform vector for any kind of uniform vector
* pmt: adding pmt::dict_update(dict1, dict2) function for merging dictionariesTim O'Shea2014-05-061-0/+3
|
* pmt: added class comparator to rename comperator (to be removed in 3.8).Tom Rondeau2013-11-231-1/+8
|
* docs: fixed doxygen warning.Tom Rondeau2013-11-231-2/+0
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-292-2/+2
|
* runtime: Fixed libgnuradio-pmt MSVC incompatibility errorsNicholas Corgan2013-04-091-1/+1
|
* runtime: Windows MSVC compatibility fixesNicholas Corgan2013-04-031-1/+1
| | | | | | | * pmt_EXPORTS changed to gnuradio_runtime_EXPORTS * WinSock2 used when appropriate * Class definition syntax * Explicit including of ICE_INCLUDE_DIR
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-015-0/+1195
PMTs are handled slightly different and are installed into their own module and include dir.