41 #ifndef YOCTO_PWMPOWERSOURCE_H 42 #define YOCTO_PWMPOWERSOURCE_H 55 #ifndef _Y_POWERMODE_ENUM 56 #define _Y_POWERMODE_ENUM 76 #pragma option push -w-8022 116 {
return this->get_powerMode(); }
136 {
return this->set_powerMode(newval); }
196 {
return this->nextPwmPowerSource();}
static YPwmPowerSource * Find(string func)
static YPwmPowerSource * First(void)
static YPwmPowerSource * FindPwmPowerSource(string func)
int setPowerMode(Y_POWERMODE_enum newval)
Y_POWERMODE_enum powerMode(void)
virtual int _parseAttr(YJSONObject *json_val)
YPwmPowerSource * yFindPwmPowerSource(const string &func)
YPwmPowerSource * yFirstPwmPowerSource(void)
Y_POWERMODE_enum _powerMode
virtual int registerValueCallback(YFunctionValueCallback callback)
YPwmPowerSource * next(void)
#define YOCTO_CLASS_EXPORT
YPwmPowerSourceValueCallback _valueCallbackPwmPowerSource
void(* YPwmPowerSourceValueCallback)(YPwmPowerSource *func, const string &functionValue)
static YPwmPowerSource * FirstPwmPowerSource(void)
virtual int _invokeValueCallback(string value)