Main Page | Class List | Class Members

OGL_Library::GPSReceive Class Reference

The class master function are enables access to GPS devices and reading data. Provider method to parsing NMEA-0183 strings, now supports $GPGGA, $GPGSA, $ GPRMC and $GPGSV. Developer can configure from which message to extract GPS receiver information.. More...

List of all members.

Public Member Functions

 GPSReceive (int port)
string ReceiveALL ()
MSG_GGA ReceiveGGA ()
MSG_RMC ReceiveRMC ()
MSG_GSV ReceiveGSV ()
MSG_GSA ReceiveGSA ()

Properties

Boolean PortOpen


Detailed Description

The class master function are enables access to GPS devices and reading data. Provider method to parsing NMEA-0183 strings, now supports $GPGGA, $GPGSA, $ GPRMC and $GPGSV. Developer can configure from which message to extract GPS receiver information..


Constructor & Destructor Documentation

OGL_Library::GPSReceive::GPSReceive int  port  ) 
 

GPSReceive constructor.

Parameters:
port The port that enables access to GPS device.


Member Function Documentation

string OGL_Library::GPSReceive::ReceiveALL  ) 
 

Receive NMEA0183 message from GPS device

Returns:
NMEA0183 format message that contain $GPGGAˇB$GPRMCˇB$GPGSAˇB$GPGSV and other.
It determine by GPS device..

MSG_GGA OGL_Library::GPSReceive::ReceiveGGA  ) 
 

Receive NMEA0183 message from GPS device and extract $GPGGA data

Returns:
$GPGGA data of MSG_GGA struct type.

MSG_RMC OGL_Library::GPSReceive::ReceiveRMC  ) 
 

Receive NMEA0183 message from GPS device and extract $GPRMC data

Returns:
$GPRMC data of MSG_RMC struct type.

MSG_GSV OGL_Library::GPSReceive::ReceiveGSV  ) 
 

Receive NMEA0183 message from GPS device and extract $GPGSV data

Returns:
$GPGSV data of MSG_GSV struct type.

MSG_GSA OGL_Library::GPSReceive::ReceiveGSA  ) 
 

Receive NMEA0183 message from GPS device and extract $GPGSA data

Returns:
$GPGSA data of MSG_GSA struct type.


Property Documentation

Boolean OGL_Library::GPSReceive::PortOpen [get, set]
 

Open GPS device port or close
Set PortOpen = true, will be open port..

Returns:
GPS device now state(Open / Close)


Generated on Tue Mar 9 03:09:45 2004 for OGL_Library by doxygen 1.3.6