41 #ifndef YOCTO_ALTITUDE_H 42 #define YOCTO_ALTITUDE_H 57 #define Y_QNH_INVALID (YAPI_INVALID_DOUBLE) 58 #define Y_TECHNOLOGY_INVALID (YAPI_INVALID_STRING) 73 #pragma option push -w-8022 111 int set_currentValue(
double newval);
113 {
return this->set_currentValue(newval); }
128 int set_qnh(
double newval);
130 {
return this->set_qnh(newval); }
141 double get_qnh(
void);
144 {
return this->get_qnh(); }
155 string get_technology(
void);
158 {
return this->get_technology(); }
187 static YAltitude* FindAltitude(
string func);
234 {
return this->nextAltitude();}
YAltitude * yFirstAltitude(void)
int setQnh(double newval)
static YAltitude * First(void)
int setCurrentValue(double newval)
void(* YAltitudeTimedReportCallback)(YAltitude *func, YMeasure measure)
static YAltitude * FindAltitude(string func)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
YAltitude * yFindAltitude(const string &func)
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
static YAltitude * Find(string func)
virtual int _parseAttr(YJSONObject *json_val)
virtual int registerValueCallback(YSensorValueCallback callback)
static YAltitude * FirstAltitude(void)
#define YOCTO_CLASS_EXPORT
static const string TECHNOLOGY_INVALID
void(* YAltitudeValueCallback)(YAltitude *func, const string &functionValue)
YAltitudeValueCallback _valueCallbackAltitude
static const double QNH_INVALID
YAltitudeTimedReportCallback _timedReportCallbackAltitude