source: pacpusframework/branches/2.0-beta1/include/extlib/NMEA0183/TRF.hpp@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 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.1 KB
Line 
1#if ! defined( TRF_CLASS_HEADER )
2
3#define TRF_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: trf.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 4:50p $
16*/
17
18class TRF : public RESPONSE
19{
20 public:
21
22 TRF();
23 virtual ~TRF();
24
25 /*
26 ** Data
27 */
28
29 QString UTCTime;
30 QDateTime Time;
31 QString Date;
32 LATLONG Position;
33 double ElevationAngle;
34 double NumberOfIterations;
35 double NumberOfDopplerIntervals;
36 double UpdateDistanceNauticalMiles;
37 double SatelliteID;
38 NMEA0183_BOOLEAN IsDataValid;
39
40 /*
41 ** Methods
42 */
43
44 virtual void Empty( void );
45 virtual BOOL Parse( const SENTENCE& sentence );
46 virtual BOOL Write( SENTENCE& sentence );
47
48 /*
49 ** Operators
50 */
51
52 virtual const TRF& operator = ( const TRF& source );
53};
54
55#endif // TRF_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.