41 #ifndef YOCTO_CURRENT_H 42 #define YOCTO_CURRENT_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 YCurrent* FindCurrent(
string func);
188 {
return this->nextCurrent();}
199 static YCurrent* FirstCurrent(
void);
Y_ENABLED_enum enabled(void)
static YCurrent * FirstCurrent(void)
static YCurrent * First(void)
YCurrentTimedReportCallback _timedReportCallbackCurrent
int setEnabled(Y_ENABLED_enum newval)
void(* YCurrentValueCallback)(YCurrent *func, const string &functionValue)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
YCurrent * yFirstCurrent(void)
YCurrent * yFindCurrent(const string &func)
virtual int _parseAttr(YJSONObject *json_val)
virtual int registerValueCallback(YSensorValueCallback callback)
#define YOCTO_CLASS_EXPORT
YCurrentValueCallback _valueCallbackCurrent
void(* YCurrentTimedReportCallback)(YCurrent *func, YMeasure measure)
static YCurrent * FindCurrent(string func)
static YCurrent * Find(string func)