Last change
on this file since 110 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.4 KB
|
Line | |
---|
1 | #if ! defined( TTM_CLASS_HEADER )
|
---|
2 |
|
---|
3 | #define TTM_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: ttm.hpp $
|
---|
14 | ** $Revision: 4 $
|
---|
15 | ** $Modtime: 10/10/98 4:44p $
|
---|
16 | */
|
---|
17 |
|
---|
18 | typedef enum
|
---|
19 | {
|
---|
20 | TargetUnknown = 0,
|
---|
21 | TargetLost,
|
---|
22 | TargetQuery,
|
---|
23 | TargetTracking
|
---|
24 | }
|
---|
25 | TARGET_STATUS;
|
---|
26 |
|
---|
27 | class TTM : public RESPONSE
|
---|
28 | {
|
---|
29 | public:
|
---|
30 |
|
---|
31 | TTM();
|
---|
32 | virtual ~TTM();
|
---|
33 |
|
---|
34 | /*
|
---|
35 | ** Data
|
---|
36 | */
|
---|
37 |
|
---|
38 | int TargetNumber;
|
---|
39 | double TargetDistance;
|
---|
40 | double BearingFromOwnShip;
|
---|
41 | QString BearingUnits;
|
---|
42 | double TargetSpeed;
|
---|
43 | double TargetCourse;
|
---|
44 | QString TargetCourseUnits;
|
---|
45 | double DistanceOfClosestPointOfApproach;
|
---|
46 | double NumberOfMinutesToClosestPointOfApproach;
|
---|
47 | QString Increasing;
|
---|
48 | QString TargetName;
|
---|
49 | TARGET_STATUS TargetStatus;
|
---|
50 | QString ReferenceTarget;
|
---|
51 |
|
---|
52 | /*
|
---|
53 | ** Methods
|
---|
54 | */
|
---|
55 |
|
---|
56 | virtual void Empty( void );
|
---|
57 | virtual BOOL Parse( const SENTENCE& sentence );
|
---|
58 | virtual BOOL Write( SENTENCE& sentence );
|
---|
59 |
|
---|
60 | /*
|
---|
61 | ** Operators
|
---|
62 | */
|
---|
63 |
|
---|
64 | virtual const TTM& operator = ( const TTM& source );
|
---|
65 | };
|
---|
66 |
|
---|
67 | #endif // TTM_CLASS_HEADER
|
---|
Note:
See
TracBrowser
for help on using the repository browser.