41 #ifndef YOCTO_HUMIDITY_H 42 #define YOCTO_HUMIDITY_H 57 #define Y_RELHUM_INVALID (YAPI_INVALID_DOUBLE) 58 #define Y_ABSHUM_INVALID (YAPI_INVALID_DOUBLE) 71 #pragma option push -w-8022 114 int set_unit(
const string& newval);
116 {
return this->set_unit(newval); }
125 double get_relHum(
void);
128 {
return this->get_relHum(); }
137 double get_absHum(
void);
140 {
return this->get_absHum(); }
169 static YHumidity* FindHumidity(
string func);
216 {
return this->nextHumidity();}
YHumidityValueCallback _valueCallbackHumidity
void(* YHumidityValueCallback)(YHumidity *func, const string &functionValue)
static YHumidity * Find(string func)
void(* YHumidityTimedReportCallback)(YHumidity *func, YMeasure measure)
static YHumidity * FindHumidity(string func)
static const double RELHUM_INVALID
YHumidity * yFindHumidity(const string &func)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
static YHumidity * FirstHumidity(void)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
static YHumidity * First(void)
YHumidity * yFirstHumidity(void)
virtual int _parseAttr(YJSONObject *json_val)
virtual int registerValueCallback(YSensorValueCallback callback)
#define YOCTO_CLASS_EXPORT
YHumidityTimedReportCallback _timedReportCallbackHumidity
int setUnit(const string &newval)
static const double ABSHUM_INVALID