From 388ebd00f618e75941c3f2045f448c10e514dcd4 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Fri, 4 May 2018 16:45:08 -0700 Subject: types: convert sensor_value_t to a map --- host/include/uhd/types/sensors.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') 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; -- cgit v1.2.3