source: pacpussensors/trunk/NMEA0183/include/RSD.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.1 KB
Line 
1#if ! defined( RSD_CLASS_HEADER )
2
3#define RSD_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: rsd.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:44p $
16*/
17
18typedef enum
19{
20 RotationUnknown = 0,
21 CourseUpRotation,
22 HeadUpRotation,
23 NorthUpRotation
24}
25ROTATION;
26
27class RSD : public RESPONSE
28{
29 public:
30
31 RSD();
32 virtual ~RSD();
33
34 /*
35 ** Data
36 */
37
38 RADAR_DATA Data1;
39 RADAR_DATA Data2;
40 double CursorRangeFromOwnShip;
41 double CursorBearingDegreesClockwiseFromZero;
42 double RangeScale;
43 QString RangeUnits;
44 ROTATION DisplayRotation;
45
46 /*
47 ** Methods
48 */
49
50 virtual void Empty( void );
51 virtual BOOL Parse( const SENTENCE& sentence );
52 virtual BOOL Write( SENTENCE& sentence );
53
54 /*
55 ** Operators
56 */
57
58 virtual const RSD& operator = ( const RSD& source );
59};
60
61#endif // RSD_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.