diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-05-04 16:45:08 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-05-14 18:02:45 -0700 |
commit | 388ebd00f618e75941c3f2045f448c10e514dcd4 (patch) | |
tree | e90fdeabf9ac450d2476cef031287429e6745ecc /host/include | |
parent | e942181f600b6b35f2200244b9899e23b20cf6cf (diff) | |
download | uhd-388ebd00f618e75941c3f2045f448c10e514dcd4.tar.gz uhd-388ebd00f618e75941c3f2045f448c10e514dcd4.tar.bz2 uhd-388ebd00f618e75941c3f2045f448c10e514dcd4.zip |
types: convert sensor_value_t to a map
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/types/sensors.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/include/uhd/types/sensors.hpp b/host/include/uhd/types/sensors.hpp index 6b9c4f137..4f1b64534 100644 --- a/host/include/uhd/types/sensors.hpp +++ b/host/include/uhd/types/sensors.hpp @@ -110,6 +110,9 @@ namespace uhd{ //! convert the sensor value to real number double to_real(void) const; + //! convert the sensor value to sensor_map_t + sensor_map_t to_map(void) const; + //! The name of the sensor value std::string name; |