41 #ifndef YOCTO_VOLTAGE_H 42 #define YOCTO_VOLTAGE_H 57 #ifndef _Y_ENABLED_ENUM 58 #define _Y_ENABLED_ENUM 77 #pragma option push -w-8022 108 {
return this->get_enabled(); }
112 {
return this->set_enabled(newval); }
141 static YVoltage* FindVoltage(
string func);
188 {
return this->nextVoltage();}
199 static YVoltage* FirstVoltage(
void);
int setEnabled(Y_ENABLED_enum newval)
static YVoltage * First(void)
Y_ENABLED_enum enabled(void)
static YVoltage * Find(string func)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
virtual int _parseAttr(YJSONObject *json_val)
static YVoltage * FirstVoltage(void)
virtual int registerValueCallback(YSensorValueCallback callback)
void(* YVoltageTimedReportCallback)(YVoltage *func, YMeasure measure)
#define YOCTO_CLASS_EXPORT
static YVoltage * FindVoltage(string func)
YVoltageTimedReportCallback _timedReportCallbackVoltage
YVoltageValueCallback _valueCallbackVoltage
void(* YVoltageValueCallback)(YVoltage *func, const string &functionValue)
YVoltage * yFirstVoltage(void)
YVoltage * yFindVoltage(const string &func)