Public Member Functions | Public Attributes
CPhidgetGPSInfo Struct Reference

#include <cphidgetgps.h>

List of all members.

Public Member Functions

 int (CCONV *fptrPositionChange)(CPhidgetGPSHandle
 int (CCONV *fptrPositionFixStatusChange)(CPhidgetGPSHandle

Public Attributes

void double double double altitude
double altitude
unsigned char fix
voidfptrPositionChangeptr
voidfptrPositionFixStatusChangeptr
NMEAData GPSData
unsigned char haveDate
unsigned char haveTime
double heading
double lastAltitude
unsigned char lastFix
double lastLatitude
double lastLongitude
void double latitude
double latitude
void double double longitude
double longitude
CPhidget phid
unsigned char sckbuf [256]
unsigned char sckbuf_read
unsigned char sckbuf_write
void int status
double velocity

Detailed Description

Gets the current latitude.

Parameters:
phidAn attached phidget gps handle.
latitudeThe latitude. Gets the current longitude.
phidAn attached phidget gps handle.
longitudeThe longitude. Gets the current altitude, in meters.
phidAn attached phidget gps handle.
altitudeThe altitude. Gets the current heading, in degrees.
phidAn attached phidget gps handle.
headingThe heading. Gets the current velocity, in km/h.
phidAn attached phidget gps handle.
velocityThe velocity. Gets the current GPS time, in UTC.
phidAn attached phidget gps handle.
timeThe GPS time. Gets the current GPS date, in UTC
phidAn attached phidget gps handle.
dateThe GPS date. Gets the position fix status.
phidAn attached phidget gps handle.
fixStatusThe fix status. Gets Raw NMEA Data. This function is only available in the C API, and cannot be used over the webservice. The NMEA data reference points to a structure which is updated dynamically as data comes in - if you wish to work with the data statically, you must make a local copy. This should be done from within a position change event handler to avoid the structure changing as you read it.
phidAn attached phidget gps handle.
dataThe NMEA Data. Sets a position change event handler. This is called when any of latitude, longitude, or altitude change.
phidA phidget gps handle.
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Sets a position fix status change event handler. This is called when a position fix is aquired or lost.
phidA phidget gps handle.
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function.

Definition at line 206 of file cphidgetgps.h.


Member Function Documentation

CPhidgetGPSInfo::int ( CCONV fptrPositionChange)
CPhidgetGPSInfo::int ( CCONV fptrPositionFixStatusChange)

Member Data Documentation

void double double double CPhidgetGPSInfo::altitude

Definition at line 209 of file cphidgetgps.h.

Definition at line 216 of file cphidgetgps.h.

unsigned char CPhidgetGPSInfo::fix

Definition at line 217 of file cphidgetgps.h.

Definition at line 210 of file cphidgetgps.h.

Definition at line 212 of file cphidgetgps.h.

Definition at line 214 of file cphidgetgps.h.

Definition at line 219 of file cphidgetgps.h.

Definition at line 219 of file cphidgetgps.h.

Definition at line 216 of file cphidgetgps.h.

Definition at line 221 of file cphidgetgps.h.

unsigned char CPhidgetGPSInfo::lastFix

Definition at line 222 of file cphidgetgps.h.

Definition at line 221 of file cphidgetgps.h.

Definition at line 221 of file cphidgetgps.h.

Definition at line 209 of file cphidgetgps.h.

Definition at line 216 of file cphidgetgps.h.

Definition at line 209 of file cphidgetgps.h.

Definition at line 216 of file cphidgetgps.h.

Definition at line 207 of file cphidgetgps.h.

unsigned char CPhidgetGPSInfo::sckbuf[256]

Definition at line 224 of file cphidgetgps.h.

Definition at line 225 of file cphidgetgps.h.

Definition at line 225 of file cphidgetgps.h.

Definition at line 211 of file cphidgetgps.h.

Definition at line 216 of file cphidgetgps.h.


The documentation for this struct was generated from the following file:


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22