aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/property_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-38/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* prop_tree: Added advanced coercion capability to propertyAshish Chaudhari2016-02-111-1/+52
| | | | | | - Added auto and manual coerce modes - Added set_coerced API for manual coercion - Added detailed doxy comments describing behavior of property class
* prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-6/+6
| | | | | | | | | - Added desired and coerced values and accessors to property - Added support to register desired subscribers - set APIs don't reallocate storage for a property value - Renamed callback method registration APIs - Registering 2 coercers or publishers for a property will throw - Registering a coercer and a publisher for the same property will throw
* uhd: Added an operator/ for (fs_path, size_t)Martin Braun2014-09-231-0/+21
| | | | | | | | | | | | | This is useful when constructing property tree paths. With this path, the following code would be valid: size_t mb_index = 0; fs_path mb_root = "/mboards"; mb_root = mb_root / mb_index; This is a shortcut for the (in UHD very common) mb_root = mb_root / boost::lexical_cast<std::string(mb_index);
* uhd: added unit test for properties subtreeJosh Blum2011-07-081-0/+16
|
* uhd: misc tweaks and also msvc compileJosh Blum2011-06-291-0/+7
|
* uhd: properties tweaks and docsJosh Blum2011-06-291-1/+1
|
* uhd: added properties unit tests, use shared ptr<void> in treeJosh Blum2011-06-281-18/+68
|
* uhd: re-work to make the properties easier to useJosh Blum2011-06-281-20/+22
|
* uhd: change for default prop create()Josh Blum2011-06-251-1/+1
|
* uhd: created a property tree to store propertiesJosh Blum2011-06-251-0/+25
|
* uhd: work on templated property classJosh Blum2011-06-251-0/+75