source: pacpusframework/branches/2.0-beta1/include/extlib/NMEA0183/APB.hpp@ 94

Last change on this file since 94 was 89, checked in by morasjul, 12 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#if ! defined( APB_CLASS_HEADER )
2
3#define APB_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: apb.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:38p $
16*/
17
18class APB : public RESPONSE
19{
20 public:
21
22 APB();
23 virtual ~APB();
24
25 /*
26 ** Data
27 */
28
29 NMEA0183_BOOLEAN IsLoranBlinkOK;
30 NMEA0183_BOOLEAN IsLoranCCycleLockOK;
31 double CrossTrackErrorMagnitude;
32 LEFTRIGHT DirectionToSteer;
33 QString CrossTrackUnits;
34 NMEA0183_BOOLEAN IsArrivalCircleEntered;
35 NMEA0183_BOOLEAN IsPerpendicular;
36 double BearingOriginToDestination;
37 QString BearingOriginToDestinationUnits;
38 QString To;
39 double BearingPresentPositionToDestination;
40 QString BearingPresentPositionToDestinationUnits;
41 double HeadingToSteer;
42 QString HeadingToSteerUnits;
43
44 /*
45 ** Methods
46 */
47
48 virtual void Empty( void );
49 virtual BOOL Parse( const SENTENCE& sentence );
50 virtual BOOL Write( SENTENCE& sentence );
51
52 /*
53 ** Operators
54 */
55
56 virtual const APB& operator = ( const APB& source );
57};
58
59#endif // APB_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.