Martin Braun
876d4150aa
uhd: Apply clang-format against all .cpp and .hpp files in host/
...
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
2020-03-03 08:51:32 -06:00
Martin Braun
2cba140705
converters: Improve exception string for illegal formats
...
When trying to create a converter with an illegal string, it will now
look like this:
[convert] Cannot find an item size for: `???'
2019-07-20 14:41:00 -07:00
Martin Braun
ae5211d71d
uhd: Update license headers
...
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b
Move all license headers to SPDX format.
2017-12-22 10:45:51 -08:00
Martin Braun
4e12602f6d
converters: Remove log message in register_converter
...
Similar to b431866a5 , this reduces logging in static initializer blocks.
Those are prone to hang during DLL initialization.
2017-09-29 10:51:20 -07:00
Andrej Rode
21aad77c9c
utils: introduce new logging API and remove msg API
2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c
uhd: replace BOOST_FOREACH with C++11 range-based for loop
...
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Martin Braun
99c2730bc9
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
...
- Also removes all references to boost/cstdint.hpp and replaces it with
stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
compilers support that).
2016-11-08 08:02:22 -08:00
Nicholas Corgan
56e987d41c
convert: remove duplicate registration of sc12 size
2016-06-17 11:27:53 -07:00
Martin Braun
bd293b70f4
convert: Added converters for raw strings
...
- u8: Converts arbitrary-length strings from and to item32
- item32->item32 memcpy non-conversion
2015-07-31 12:26:44 -07:00
Martin Braun
ebe7169dce
convert: Added logging point in get_converter()
2015-01-27 09:58:32 +01:00
Martin Braun
bee57ee03f
convert: Modifications to id_type
...
- Converter ID symbols are exported
- to_string() function for lighter feedback
2015-01-27 09:58:32 +01:00
Nicholas Corgan
654c5b06c0
Added missing pure virtual destructors to base classes
2014-09-01 17:58:24 +02:00
Ben Hilburn
98f8ec4e14
UHD: Addressing Bug 466, as per Balint.
2014-05-22 18:04:43 -07:00
Martin Braun
b391996eca
uhd: Registered sc12 as type
2014-04-10 21:01:50 +02:00
Josh Blum
6b2e4ef52d
convert: added prio param to get converter
...
We can now test generic conversion implementations against SIMD (for example)
2012-04-27 16:19:49 -07:00
Josh Blum
dd78230894
convert: made conversion functions into classes so they can keep state
2011-11-12 15:45:52 -08:00
Josh Blum
b0834fff86
uhd: convert should use register_bytes_per_item
2011-11-11 09:43:08 -08:00
Josh Blum
c885da1138
uhd: renamed convert markup to format
...
removed convert args
added simd level
got orc and neon updated
2011-11-03 20:37:12 -07:00
Josh Blum
de17ef4614
usrp1: multi channel receive working
2011-11-03 20:37:11 -07:00
Josh Blum
abed04b3c6
uhd: restored super packet handler functionality
2011-11-03 20:37:10 -07:00
Josh Blum
75b7967fac
convert: reworked convert to use new identification standard
2011-11-03 20:37:10 -07:00
Josh Blum
c8dca30d72
uhd: replaced many conditional prints with UHD_LOG usage
2011-05-04 15:27:11 -07:00
Josh Blum
20a524d1a0
uhd: moved exception to top level include
2011-02-24 14:18:52 -08:00
Josh Blum
6f814f04c4
uhd: changed convert routines to return the function pointer
...
changed the vrt packet handler to get the function pointer (once), this may be a minor performance help
2011-01-12 15:41:32 -08:00
Josh Blum
03f4ce0fb2
uhd: renamed and tweaked some of the convert files
2011-01-05 11:37:12 -08:00