Commit graph

11 commits

Author SHA1 Message Date
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
Ashish Chaudhari
834acb8b6c prop_tree: Added advanced coercion capability to property
- Added auto and manual coerce modes
- Added set_coerced API for manual coercion
- Added detailed doxy comments describing behavior of property class
2016-02-11 14:36:20 -08:00
Martin Braun
5aefa0fdfc Merge branch 'maint' 2014-09-23 16:03:27 -07:00
Martin Braun
c431a66df3 uhd: Added an operator/ for (fs_path, size_t)
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);
2014-09-23 16:02:14 -07:00
Nicholas Corgan
654c5b06c0 Added missing pure virtual destructors to base classes 2014-09-01 17:58:24 +02:00
Josh Blum
da40a1aebc uhd: replaced boost filesystem path with fs_path in property tree 2011-07-22 13:59:47 -07:00
Josh Blum
22319dfc30 uhd: tweaks for windows boost 1.47 compile 2011-07-18 12:57:00 -07:00
Josh Blum
aa6b340f43 uhd: added subtree capability to property tree 2011-07-08 10:08:43 -07:00
Josh Blum
d2f79c0728 uhd: added properties unit tests, use shared ptr<void> in tree 2011-06-28 21:26:28 -07:00
Josh Blum
3a61875156 usrp2: restored discovery and most of io_impl 2011-06-27 23:05:53 -07:00
Josh Blum
ba2a6b4b39 uhd: forgot to commit properties file 2011-06-25 20:23:19 -07:00