63 #ifndef _Y_BLINKING_ENUM 64 #define _Y_BLINKING_ENUM 75 #define Y_LUMINOSITY_INVALID (YAPI_INVALID_UINT) 88 #pragma option push -w-8022 106 YLed(
const string& func);
135 {
return this->get_power(); }
148 {
return this->set_power(newval); }
157 int get_luminosity(
void);
160 {
return this->get_luminosity(); }
171 int set_luminosity(
int newval);
173 {
return this->set_luminosity(newval); }
186 {
return this->get_blinking(); }
200 {
return this->set_blinking(newval); }
229 static YLed* FindLed(
string func);
260 {
return this->nextLed();}
271 static YLed* FirstLed(
void);
int setPower(Y_POWER_enum newval)
void(* YLedValueCallback)(YLed *func, const string &functionValue)
static YLed * Find(string func)
static YLed * First(void)
#define YAPI_INVALID_UINT
static YLed * FindLed(string func)
virtual int _parseAttr(YJSONObject *json_val)
static YLed * FirstLed(void)
Y_BLINKING_enum blinking(void)
virtual int registerValueCallback(YFunctionValueCallback callback)
#define YOCTO_CLASS_EXPORT
YLedValueCallback _valueCallbackLed
YLed * yFindLed(const string &func)
int setLuminosity(int newval)
int setBlinking(Y_BLINKING_enum newval)
Y_BLINKING_enum _blinking
virtual int _invokeValueCallback(string value)