18 #ifndef INCLUDED_UHD_TYPES_SENSORS_HPP    19 #define INCLUDED_UHD_TYPES_SENSORS_HPP    48             const std::string &name,
    50             const std::string &utrue,
    51             const std::string &ufalse
    62             const std::string &name,
    64             const std::string &unit,
    65             const std::string &formatter = 
"%d"    76             const std::string &name,
    78             const std::string &unit,
    79             const std::string &formatter = 
"%f"    89             const std::string &name,
    90             const std::string &value,
    91             const std::string &unit
    98         sensor_value_t(
const sensor_value_t& source);
   101         bool to_bool(
void) 
const;
   104         signed to_int(
void) 
const;
   107         double to_real(
void) 
const;
   138         std::string to_pp_string(
void) 
const;
   141         sensor_value_t& operator=(
const sensor_value_t& value);
 std::string value
Definition: sensors.hpp:117
 
data_type_t
Enumeration of possible data types in a sensor. 
Definition: sensors.hpp:127
 
std::string name
The name of the sensor value. 
Definition: sensors.hpp:110
 
Definition: build_info.hpp:25
 
Definition: sensors.hpp:38
 
#define UHD_API
Definition: config.h:73
 
std::string unit
Definition: sensors.hpp:124
 
data_type_t type
The data type of the value. 
Definition: sensors.hpp:135