source:
pacpussensors/trunk/NMEA0183/include/SPEED.hpp
Last change on this file was 59, checked in by , 10 years ago | |
---|---|
File size: 752 bytes |
Line | |
---|---|
1 | #if ! defined( SPEED_CLASS_HEADER ) |
2 | |
3 | #define SPEED_CLASS_HEADER |
4 | |
5 | #include "qstring.h" |
6 | #include "NMEA0183_slim.h" |
7 | #include "LatLong.hpp" |
8 | #include "Sentence.hpp" |
9 | #include "Response.hpp" |
10 | |
11 | class SPEED : public RESPONSE |
12 | { |
13 | public: |
14 | |
15 | SPEED(); |
16 | virtual ~SPEED(); |
17 | |
18 | /* |
19 | ** Data |
20 | */ |
21 | |
22 | double east; |
23 | double north; |
24 | double up; |
25 | |
26 | /* |
27 | ** Methods |
28 | */ |
29 | |
30 | virtual void Empty( void ); |
31 | virtual QString PlainEnglish( void ) const; |
32 | virtual BOOL Parse( const SENTENCE& sentence ); |
33 | virtual BOOL Write( SENTENCE& sentence ); |
34 | |
35 | /* |
36 | ** Operators |
37 | */ |
38 | |
39 | virtual const SPEED& operator = ( const SPEED& source ); |
40 | }; |
41 | |
42 | #endif // SPEED_CLASS_HEADER |
Note:
See TracBrowser
for help on using the repository browser.