source: pacpussensors/trunk/NMEA0183/include/Response.hpp@ 120

Last change on this file since 120 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( RESPONSE_CLASS_HEADER )
2
3#define RESPONSE_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** 05 Jun 96 - With Jan-Erik Eriksson's help, added DataSource
14**
15** $Workfile: response.hpp $
16** $Revision: 6 $
17** $Modtime: 10/10/98 2:51p $
18*/
19
20class NMEA0183;
21
22class RESPONSE
23{
24 private:
25
26 NMEA0183 *container_p;
27
28 public:
29
30 RESPONSE();
31 virtual ~RESPONSE();
32
33 /*
34 ** Data
35 */
36
37 QString DataSource;
38 QString ErrorMessage;
39 QString Mnemonic;
40 QString Talker;
41
42 /*
43 ** Methods
44 */
45
46 virtual void Empty( void ) = 0;
47 virtual bool Parse( const SENTENCE& sentence ) = 0;
48 virtual QString PlainEnglish( void ) const;
49 virtual void SetErrorMessage( const QString& );
50 virtual void SetContainer( NMEA0183 *container );
51 virtual bool Write( SENTENCE& sentence );
52};
53
54#endif // RESPONSE_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.