55 #ifndef _Y_ISFIXED_ENUM 56 #define _Y_ISFIXED_ENUM 63 #ifndef _Y_COORDSYSTEM_ENUM 64 #define _Y_COORDSYSTEM_ENUM 72 #define Y_SATCOUNT_INVALID (YAPI_INVALID_LONG) 73 #define Y_LATITUDE_INVALID (YAPI_INVALID_STRING) 74 #define Y_LONGITUDE_INVALID (YAPI_INVALID_STRING) 75 #define Y_DILUTION_INVALID (YAPI_INVALID_DOUBLE) 76 #define Y_ALTITUDE_INVALID (YAPI_INVALID_DOUBLE) 77 #define Y_GROUNDSPEED_INVALID (YAPI_INVALID_DOUBLE) 78 #define Y_DIRECTION_INVALID (YAPI_INVALID_DOUBLE) 79 #define Y_UNIXTIME_INVALID (YAPI_INVALID_LONG) 80 #define Y_DATETIME_INVALID (YAPI_INVALID_STRING) 81 #define Y_UTCOFFSET_INVALID (YAPI_INVALID_INT) 82 #define Y_COMMAND_INVALID (YAPI_INVALID_STRING) 97 #pragma option push -w-8022 125 YGps(
const string& func);
162 {
return this->get_isFixed(); }
171 s64 get_satCount(
void);
174 {
return this->get_satCount(); }
187 {
return this->get_coordSystem(); }
201 {
return this->set_coordSystem(newval); }
210 string get_latitude(
void);
213 {
return this->get_latitude(); }
222 string get_longitude(
void);
225 {
return this->get_longitude(); }
236 double get_dilution(
void);
239 {
return this->get_dilution(); }
249 double get_altitude(
void);
252 {
return this->get_altitude(); }
261 double get_groundSpeed(
void);
264 {
return this->get_groundSpeed(); }
275 double get_direction(
void);
278 {
return this->get_direction(); }
289 s64 get_unixTime(
void);
292 {
return this->get_unixTime(); }
301 string get_dateTime(
void);
304 {
return this->get_dateTime(); }
313 int get_utcOffset(
void);
316 {
return this->get_utcOffset(); }
329 int set_utcOffset(
int newval);
331 {
return this->set_utcOffset(newval); }
333 string get_command(
void);
336 {
return this->get_command(); }
338 int set_command(
const string& newval);
340 {
return this->set_command(newval); }
369 static YGps* FindGps(
string func);
400 {
return this->nextGps();}
411 static YGps* FirstGps(
void);
static const string COMMAND_INVALID
static const double DIRECTION_INVALID
static const string DATETIME_INVALID
static const string LATITUDE_INVALID
Y_COORDSYSTEM_enum _coordSystem
#define YAPI_INVALID_LONG
void(* YGpsValueCallback)(YGps *func, const string &functionValue)
YGpsValueCallback _valueCallbackGps
int setUtcOffset(int newval)
static YGps * FirstGps(void)
static const string LONGITUDE_INVALID
virtual int _parseAttr(YJSONObject *json_val)
int setCoordSystem(Y_COORDSYSTEM_enum newval)
int setCommand(const string &newval)
Y_COORDSYSTEM_enum coordSystem(void)
static const double DILUTION_INVALID
virtual int registerValueCallback(YFunctionValueCallback callback)
static const double GROUNDSPEED_INVALID
#define YOCTO_CLASS_EXPORT
static YGps * First(void)
static const double ALTITUDE_INVALID
static YGps * Find(string func)
YGps * yFindGps(const string &func)
static YGps * FindGps(string func)
virtual int _invokeValueCallback(string value)
Y_ISFIXED_enum isFixed(void)