source: pacpussensors/trunk/NMEA0183/include/OSD.hpp@ 64

Last change on this file since 64 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( OSD_CLASS_HEADER )
2
3#define OSD_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: osd.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:46p $
16*/
17
18class OSD : public RESPONSE
19{
20 public:
21
22 OSD();
23 virtual ~OSD();
24
25 /*
26 ** Data
27 */
28
29 double HeadingDegreesTrue;
30 NMEA0183_BOOLEAN IsHeadingValid;
31 double VesselCourseDegreesTrue;
32 REFERENCE VesselCourseReference;
33 double VesselSpeed;
34 REFERENCE VesselSpeedReference;
35 double VesselSetDegreesTrue;
36 double VesselDriftSpeed;
37 QString VesselDriftSpeedUnits;
38
39 /*
40 ** Methods
41 */
42
43 virtual void Empty( void );
44 virtual BOOL Parse( const SENTENCE& sentence );
45 virtual BOOL Write( SENTENCE& sentence );
46
47 /*
48 ** Operators
49 */
50
51 virtual const OSD& operator = ( const OSD& source );
52};
53
54#endif // OSD_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.