Last change
on this file 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.1 KB
|
Line | |
---|
1 | #if ! defined( RTE_CLASS_HEADER )
|
---|
2 |
|
---|
3 | #define RTE_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: rte.hpp $
|
---|
14 | ** $Revision: 4 $
|
---|
15 | ** $Modtime: 10/10/98 4:48p $
|
---|
16 | */
|
---|
17 |
|
---|
18 | class RTE : public RESPONSE
|
---|
19 | {
|
---|
20 | private:
|
---|
21 |
|
---|
22 | void m_DeleteAllEntries( void );
|
---|
23 |
|
---|
24 | double m_TotalNumberOfMessages;
|
---|
25 | double m_LastMessageNumberReceived;
|
---|
26 | double m_MessageNumber;
|
---|
27 |
|
---|
28 | int m_LastWaypointNumberWritten;
|
---|
29 |
|
---|
30 | public:
|
---|
31 |
|
---|
32 | RTE();
|
---|
33 | virtual ~RTE();
|
---|
34 |
|
---|
35 | typedef enum
|
---|
36 | {
|
---|
37 | RouteUnknown = 0,
|
---|
38 | CompleteRoute,
|
---|
39 | WorkingRoute
|
---|
40 | }
|
---|
41 | ROUTE_TYPE;
|
---|
42 |
|
---|
43 | ROUTE_TYPE TypeOfRoute;
|
---|
44 | QString RouteName;
|
---|
45 | QVector<QString*> Waypoints; // Yes, I tried using CStringArray but it is not an array of CStrings, it is an array of LPCSTRs
|
---|
46 |
|
---|
47 | virtual void Empty( void );
|
---|
48 | virtual BOOL Parse( const SENTENCE& sentence );
|
---|
49 | virtual BOOL Write( SENTENCE& sentence );
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif // RTE_CLASS_HEADER
|
---|
Note:
See
TracBrowser
for help on using the repository browser.