source: pacpussensors/trunk/NMEA0183/include/GSA.hpp

Last change on this file was 59, checked in by DHERBOMEZ Gérald, 10 years ago

Integration of new modules:

  • GPS NMEA0183 decoder
  • Span CPT Decoder

Update of:

File size: 1.3 KB
Line 
1#if ! defined( GSA_CLASS_HEADER )
2
3#define GSA_CLASS_HEADER
4
5/*
6** Author: Samuel R. Blackburn
7** Internet: sam_blackburn@pobox.com
8**
9** You can use it any way you like as long as you don't try to sell it.
10**
11** Copyright, 1996, Samuel R. Blackburn
12**
13** $Workfile: gsa.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:49p $
16*/
17
18class GSA : public RESPONSE
19{
20 public:
21
22 GSA();
23 virtual ~GSA();
24
25 /*
26 ** Data
27 */
28
29 typedef enum
30 {
31 UnknownOperatingMode = 0,
32 Manual,
33 Automatic
34 }
35 OPERATING_MODE;
36
37 typedef enum
38 {
39 FixUnknown = 0,
40 FixUnavailable,
41 TwoDimensional,
42 ThreeDimensional
43 }
44 FIX_MODE;
45
46 OPERATING_MODE OperatingMode;
47 FIX_MODE FixMode;
48 int SatelliteNumber[ 12 ];
49 double PDOP;
50 double HDOP;
51 double VDOP;
52
53 /*
54 ** Methods
55 */
56
57 virtual void Empty( void );
58 virtual BOOL Parse( const SENTENCE& sentence );
59 virtual BOOL Write( SENTENCE& sentence );
60
61 /*
62 ** Operators
63 */
64
65 virtual const GSA& operator = ( const GSA& source );
66};
67
68#endif // GSA_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.