41 #ifndef YOCTO_MAGNETOMETER_H 42 #define YOCTO_MAGNETOMETER_H 57 #define Y_BANDWIDTH_INVALID (YAPI_INVALID_INT) 58 #define Y_XVALUE_INVALID (YAPI_INVALID_DOUBLE) 59 #define Y_YVALUE_INVALID (YAPI_INVALID_DOUBLE) 60 #define Y_ZVALUE_INVALID (YAPI_INVALID_DOUBLE) 79 #pragma option push -w-8022 118 int get_bandwidth(
void);
121 {
return this->get_bandwidth(); }
133 int set_bandwidth(
int newval);
135 {
return this->set_bandwidth(newval); }
145 double get_xValue(
void);
148 {
return this->get_xValue(); }
158 double get_yValue(
void);
161 {
return this->get_yValue(); }
171 double get_zValue(
void);
174 {
return this->get_zValue(); }
250 {
return this->nextMagnetometer();}
YMagnetometer * yFirstMagnetometer(void)
static const double XVALUE_INVALID
int setBandwidth(int newval)
YMagnetometer * next(void)
static const double YVALUE_INVALID
void(* YMagnetometerTimedReportCallback)(YMagnetometer *func, YMeasure measure)
static const double ZVALUE_INVALID
void(* YMagnetometerValueCallback)(YMagnetometer *func, const string &functionValue)
virtual int registerTimedReportCallback(YSensorTimedReportCallback callback)
YMagnetometerTimedReportCallback _timedReportCallbackMagnetometer
virtual int _invokeTimedReportCallback(YMeasure value)
virtual int _invokeValueCallback(string value)
static YMagnetometer * FindMagnetometer(string func)
static YMagnetometer * Find(string func)
virtual int _parseAttr(YJSONObject *json_val)
virtual int registerValueCallback(YSensorValueCallback callback)
YMagnetometer * yFindMagnetometer(const string &func)
#define YOCTO_CLASS_EXPORT
YMagnetometerValueCallback _valueCallbackMagnetometer
static YMagnetometer * First(void)
static YMagnetometer * FirstMagnetometer(void)