57 #define Y_COSPHI_INVALID (YAPI_INVALID_DOUBLE) 58 #define Y_METER_INVALID (YAPI_INVALID_DOUBLE) 59 #define Y_METERTIMER_INVALID (YAPI_INVALID_UINT) 73 #pragma option push -w-8022 92 YPower(
const string& func);
112 double get_cosPhi(
void);
115 {
return this->get_cosPhi(); }
117 int set_meter(
double newval);
119 {
return this->set_meter(newval); }
130 double get_meter(
void);
133 {
return this->get_meter(); }
142 int get_meterTimer(
void);
145 {
return this->get_meterTimer(); }
174 static YPower* FindPower(
string func);
215 virtual int reset(
void);
230 {
return this->nextPower();}
241 static YPower* FirstPower(
void);
static const double COSPHI_INVALID
static YPower * FindPower(string func)
static const double METER_INVALID
static YPower * First(void)
YPowerValueCallback _valueCallbackPower
#define YAPI_INVALID_UINT
static YPower * FirstPower(void)
YPower * yFindPower(const string &func)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
static YPower * Find(string func)
int setMeter(double newval)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
virtual int _parseAttr(YJSONObject *json_val)
virtual int registerValueCallback(YSensorValueCallback callback)
void(* YPowerTimedReportCallback)(YPower *func, YMeasure measure)
YPower * yFirstPower(void)
#define YOCTO_CLASS_EXPORT
void(* YPowerValueCallback)(YPower *func, const string &functionValue)
YPowerTimedReportCallback _timedReportCallbackPower