Initial commit of files
This commit is contained in:
50
include/libgps++/NmeaProtocol.h
Normal file
50
include/libgps++/NmeaProtocol.h
Normal file
@ -0,0 +1,50 @@
|
||||
//
|
||||
// Linux GPS
|
||||
//
|
||||
|
||||
/* prevent multiple inclusions */
|
||||
#ifndef __NmeaProtocol__
|
||||
#define __NmeaProtocol__
|
||||
|
||||
/* includes *****************************************************************/
|
||||
|
||||
#include "netlib.h"
|
||||
|
||||
/* defines ******************************************************************/
|
||||
|
||||
/* macros *******************************************************************/
|
||||
|
||||
/* structs & typedefs *******************************************************/
|
||||
|
||||
/* c class definitions ******************************************************/
|
||||
|
||||
//
|
||||
// GpsLinux because it depennds on GPSd, the HAMLIB and NMEAP libraries
|
||||
//
|
||||
class NmeaProtocol {
|
||||
// public data
|
||||
public:
|
||||
|
||||
// protected data
|
||||
protected:
|
||||
|
||||
// private data
|
||||
private:
|
||||
|
||||
// private methods
|
||||
|
||||
// public methods
|
||||
public:
|
||||
// constructors
|
||||
NmeaProtocol();
|
||||
|
||||
// destructor
|
||||
virtual ~NmeaProtocol();
|
||||
|
||||
// virtual functions
|
||||
|
||||
// public methods
|
||||
static int NmeaChecksum( char *msg, int len, int max = 0 );
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user