| Last change
 on this file since 89 was             89, checked in by morasjul, 12 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.0 KB | 
      
      
| Line |  | 
|---|
| 1 | #if ! defined( IMA_CLASS_HEADER ) | 
|---|
| 2 |  | 
|---|
| 3 | #define IMA_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: ima.hpp $ | 
|---|
| 14 | ** $Revision: 4 $ | 
|---|
| 15 | ** $Modtime: 10/10/98 4:45p $ | 
|---|
| 16 | */ | 
|---|
| 17 |  | 
|---|
| 18 | /* | 
|---|
| 19 | ** This Sentence Not Recommended For New Designs | 
|---|
| 20 | ** There is no recommended replacement. | 
|---|
| 21 | */ | 
|---|
| 22 |  | 
|---|
| 23 | class IMA : public RESPONSE | 
|---|
| 24 | { | 
|---|
| 25 | public: | 
|---|
| 26 |  | 
|---|
| 27 | IMA(); | 
|---|
| 28 | virtual ~IMA(); | 
|---|
| 29 |  | 
|---|
| 30 | /* | 
|---|
| 31 | ** Data | 
|---|
| 32 | */ | 
|---|
| 33 |  | 
|---|
| 34 | QString  VesselName; | 
|---|
| 35 | QString  Callsign; | 
|---|
| 36 | LATLONG  Position; | 
|---|
| 37 | double   HeadingDegreesTrue; | 
|---|
| 38 | double   HeadingDegreesMagnetic; | 
|---|
| 39 | double   SpeedKnots; | 
|---|
| 40 |  | 
|---|
| 41 | /* | 
|---|
| 42 | ** Methods | 
|---|
| 43 | */ | 
|---|
| 44 |  | 
|---|
| 45 | virtual void Empty( void ); | 
|---|
| 46 | virtual BOOL Parse( const SENTENCE& sentence ); | 
|---|
| 47 | virtual BOOL Write( SENTENCE& sentence ); | 
|---|
| 48 |  | 
|---|
| 49 | /* | 
|---|
| 50 | ** Operators | 
|---|
| 51 | */ | 
|---|
| 52 |  | 
|---|
| 53 | virtual const IMA& operator = ( const IMA& source ); | 
|---|
| 54 | }; | 
|---|
| 55 |  | 
|---|
| 56 | #endif // IMA_CLASS_HEADER | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.