41 #ifndef YOCTO_CARBONDIOXIDE_H 42 #define YOCTO_CARBONDIOXIDE_H 57 #define Y_ABCPERIOD_INVALID (YAPI_INVALID_INT) 58 #define Y_COMMAND_INVALID (YAPI_INVALID_STRING) 72 #pragma option push -w-8022 108 int get_abcPeriod(
void);
111 {
return this->get_abcPeriod(); }
126 int set_abcPeriod(
int newval);
128 {
return this->set_abcPeriod(newval); }
130 string get_command(
void);
133 {
return this->get_command(); }
135 int set_command(
const string& newval);
137 {
return this->set_command(newval); }
214 virtual int triggerBaselineCalibration(
void);
216 virtual int triggetBaselineCalibration(
void);
234 virtual int triggerZeroCalibration(
void);
236 virtual int triggetZeroCalibration(
void);
251 {
return this->nextCarbonDioxide();}
int setCommand(const string &newval)
static YCarbonDioxide * FindCarbonDioxide(string func)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
static YCarbonDioxide * First(void)
virtual int _parseAttr(YJSONObject *json_val)
static const string COMMAND_INVALID
virtual int registerValueCallback(YSensorValueCallback callback)
static YCarbonDioxide * FirstCarbonDioxide(void)
#define YOCTO_CLASS_EXPORT
YCarbonDioxide * next(void)
void(* YCarbonDioxideValueCallback)(YCarbonDioxide *func, const string &functionValue)
YCarbonDioxide * yFindCarbonDioxide(const string &func)
YCarbonDioxideValueCallback _valueCallbackCarbonDioxide
YCarbonDioxide * yFirstCarbonDioxide(void)
YCarbonDioxideTimedReportCallback _timedReportCallbackCarbonDioxide
int setAbcPeriod(int newval)
void(* YCarbonDioxideTimedReportCallback)(YCarbonDioxide *func, YMeasure measure)
static YCarbonDioxide * Find(string func)