source: pacpussensors/trunk/NMEA0183/include/RMC.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.2 KB
Line 
1#if ! defined( RMC_CLASS_HEADER )
2
3#define RMC_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: rmc.hpp $
14** $Revision: 5 $
15** $Modtime: 10/12/98 6:44a $
16*/
17
18class RMC : public RESPONSE
19{
20 public:
21
22 RMC();
23 virtual ~RMC();
24
25 /*
26 ** Data
27 */
28
29 QString UTCTime;
30 QDateTime Time;
31 NMEA0183_BOOLEAN IsDataValid;
32 LATLONG Position;
33 double SpeedOverGroundKnots;
34 double TrackMadeGoodDegreesTrue;
35 QString Date;
36 double MagneticVariation;
37 EASTWEST MagneticVariationDirection;
38 QString ModeIndication;
39
40 /*
41 ** Methods
42 */
43
44 virtual void Empty( void );
45 virtual BOOL Parse( const SENTENCE& sentence );
46 virtual QString PlainEnglish( void ) const;
47 virtual BOOL Write( SENTENCE& sentence );
48
49 /*
50 ** Operators
51 */
52
53 virtual const RMC& operator = ( const RMC& source );
54};
55
56#endif // RMC_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.