source: pacpussensors/trunk/NMEA0183/include/DCN.hpp@ 139

Last change on this file since 139 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( DCN_CLASS_HEADER )
2
3#define DCN_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: dcn.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:39p $
16*/
17
18typedef enum
19{
20 BasisUnknown = 0,
21 NormalPatternBasis,
22 LaneIdentificationPatternBasis,
23 LaneIdentificationTransmissionsBasis
24}
25FIX_DATA_BASIS;
26
27class DCN : public RESPONSE
28{
29 public:
30
31 DCN();
32 virtual ~DCN();
33
34 /*
35 ** Data
36 */
37
38 int DeccaChainID;
39 LINE_OF_POSITION Red;
40 LINE_OF_POSITION Green;
41 LINE_OF_POSITION Purple;
42 NMEA0183_BOOLEAN RedLineNavigationUse;
43 NMEA0183_BOOLEAN GreenLineNavigationUse;
44 NMEA0183_BOOLEAN PurpleLineNavigationUse;
45 double PositionUncertaintyNauticalMiles;
46 FIX_DATA_BASIS Basis;
47
48 /*
49 ** Methods
50 */
51
52 virtual void Empty( void );
53 virtual BOOL Parse( const SENTENCE& sentence );
54 virtual BOOL Write( SENTENCE& sentence );
55
56 /*
57 ** Operators
58 */
59
60 virtual const DCN& operator = ( const DCN& source );
61};
62
63#endif // DCN_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.