41 #ifndef YOCTO_POWEROUTPUT_H 42 #define YOCTO_POWEROUTPUT_H 55 #ifndef _Y_VOLTAGE_ENUM 56 #define _Y_VOLTAGE_ENUM 75 #pragma option push -w-8022 114 {
return this->get_voltage(); }
131 {
return this->set_voltage(newval); }
191 {
return this->nextPowerOutput();}
void(* YPowerOutputValueCallback)(YPowerOutput *func, const string &functionValue)
static YPowerOutput * Find(string func)
YPowerOutput * yFindPowerOutput(const string &func)
int setVoltage(Y_VOLTAGE_enum newval)
YPowerOutput * next(void)
Y_VOLTAGE_enum voltage(void)
virtual int _parseAttr(YJSONObject *json_val)
static YPowerOutput * FindPowerOutput(string func)
virtual int registerValueCallback(YFunctionValueCallback callback)
YPowerOutput * yFirstPowerOutput(void)
#define YOCTO_CLASS_EXPORT
static YPowerOutput * First(void)
YPowerOutputValueCallback _valueCallbackPowerOutput
static YPowerOutput * FirstPowerOutput(void)
virtual int _invokeValueCallback(string value)