wayptloc.hpp

来自「来自网络,国外网友做的,vc++代码,测试过,表示感谢. 可以读取串口GPS数」· HPP 代码 · 共 56 行

HPP
56
字号
#if ! defined( WAYPOINT_LOCATION_CLASS_HEADER )

#define WAYPOINT_LOCATION_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: wayptloc.hpp $
** $Revision: 4 $
** $Modtime: 10/10/98 4:41p $
*/

/*
** This Sentence Not Recommended For New Designs
** A combination of WPL, GLL, ZDA and ZTG is recommended.
*/

class WAYPOINT_LOCATION : public RESPONSE
{
   public:

      WAYPOINT_LOCATION();
      virtual ~WAYPOINT_LOCATION();

      /*
      ** Data
      */

      CString UTCTime;
      CTime   Time;
      LATLONG Position;
      CString Waypoint;

      /*
      ** Methods
      */

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

      /*
      ** Operators
      */

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

#endif // WAYPOINT_LOCATION_CLASS_HEADER

⌨️ 快捷键说明

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