*
* NMEA library
* URL: http://nmea.sourceforge.net
* Author: Tim (xtimor@gmail.com)
* Licence: http://www.gnu.org/licenses/lgpl.html
* $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
*
*/
#define __NMEA_H__
#include "./units.h" //包括距离单元和速度单元
#include "./gmath.h" //涉及到数据的数学方面的处理
#include "./info.h" //nmea结构的信息
#include "./sentence.h" //nmea具体gps数据结构
#include "./generate.h" //根据结构产生数据
#include "./generator.h" //同上
#include "./parse.h" //分解数据
#include "./parser.h" //同上
#include "./context.h" //对字符流的处理,不涉及具体数据结构
*
* NMEA library
* URL: http://nmea.sourceforge.net
* Author: Tim (xtimor@gmail.com)
* Licence: http://www.gnu.org/licenses/lgpl.html
* $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
*
*/
#define __NMEA_CONFIG_H__
#define NMEA_VERSION_MAJOR (0)
#define NMEA_VERSION_MINOR (5)
#define NMEA_VERSION_PATCH (3)
#define NMEA_TIMEPARSE_BUF (256) //相位时间缓存
# define NMEA_CE
#endif
# define NMEA_WIN //总结以上两句,不管什么版本的windows,都是用NMEA_WIN
#else
# define NMEA_UNI
#endif
# pragma warning(disable: 4996) /* declared deprecated */
#endif
# define NMEA_INLINE __inline
#else
# define NMEA_POSIX(x) x
# define NMEA_INLINE inline
#endif
# include <assert.h>
# define NMEA_ASSERT(x) assert(x) //Assert - 断言 ,复杂的用法
#else
# define NMEA_ASSERT(x)
#endif