source: pacpussensors/trunk/NMEA0183/include/HDG.hpp@ 127

Last change on this file since 127 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: 1005 bytes
Line 
1#if ! defined( HDG_CLASS_HEADER )
2
3#define HDG_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: hdg.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:49p $
16*/
17
18class HDG : public RESPONSE
19{
20 public:
21
22 HDG();
23 virtual ~HDG();
24
25 /*
26 ** Data
27 */
28
29 double MagneticSensorHeadingDegrees;
30 double MagneticDeviationDegrees;
31 EASTWEST MagneticDeviationDirection;
32 double MagneticVariationDegrees;
33 EASTWEST MagneticVariationDirection;
34
35 /*
36 ** Methods
37 */
38
39 virtual void Empty( void );
40 virtual BOOL Parse( const SENTENCE& sentence );
41 virtual BOOL Write( SENTENCE& sentence );
42
43 /*
44 ** Operators
45 */
46
47 virtual const HDG& operator = ( const HDG& source );
48};
49
50#endif // HDG_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.