source: pacpusframework/branches/2.0-beta1/src/TestComponents/CPT/NMEA0183/include/FreqMode.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: 984 bytes
Line 
1#if ! defined( FREQUENCY_AND_MODE_CLASS_HEADER )
2
3#define FREQUENCY_AND_MODE_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: freqmode.hpp $
14** $Revision: 4 $
15** $Modtime: 10/10/98 10:07a $
16*/
17
18class FREQUENCY_AND_MODE
19{
20 public:
21
22 FREQUENCY_AND_MODE();
23 virtual ~FREQUENCY_AND_MODE();
24
25 /*
26 ** Data
27 */
28
29 double Frequency;
30 COMMUNICATIONS_MODE Mode;
31
32 /*
33 ** Methods
34 */
35
36 virtual void Empty( void );
37 virtual void Parse( int field_number, const SENTENCE& sentence );
38 virtual void Write( SENTENCE& sentence );
39
40 /*
41 ** Operators
42 */
43
44 virtual const FREQUENCY_AND_MODE& operator = ( const FREQUENCY_AND_MODE& source );
45};
46
47#endif // FREQUENCY_AND_MODE_CLASS_HEADER
Note: See TracBrowser for help on using the repository browser.