⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsd.hpp

📁 This is a GPS communication source code to interrupt the NMEA code though serial port. Very good
💻 HPP
字号:
#if ! defined( RSD_CLASS_HEADER )

#define RSD_CLASS_HEADER

/*
** Author: Samuel R. Blackburn
** Internet: sam_blackburn@pobox.com
**
** You can use it any way you like as long as you don't try to sell it.
**
** Copyright, 1996, Samuel R. Blackburn
**
** $Workfile: rsd.hpp $
** $Revision: 4 $
** $Modtime: 10/10/98 4:44p $
*/

typedef enum
{
   RotationUnknown = 0,
   CourseUpRotation,
   HeadUpRotation,
   NorthUpRotation
}
ROTATION;

class RSD : public RESPONSE
{
   public:

      RSD();
      virtual ~RSD();

      /*
      ** Data
      */

      RADAR_DATA Data1;
      RADAR_DATA Data2;
      double     CursorRangeFromOwnShip;
      double     CursorBearingDegreesClockwiseFromZero;
      double     RangeScale;
      CString    RangeUnits;
      ROTATION   DisplayRotation;

      /*
      ** Methods
      */

      virtual void Empty( void );
      virtual BOOL Parse( const SENTENCE& sentence );
      virtual BOOL Write( SENTENCE& sentence );

      /*
      ** Operators
      */

      virtual const RSD& operator = ( const RSD& source );
};

#endif // RSD_CLASS_HEADER

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -