##// END OF EJS Templates

File last commit:

r96:97
r107:108
Show More
nmeaCode.h
32 lines | 573 B | text/x-c | CLexer
/*
* nemeaCode.h
*
* Created on: Oct 21, 2014
* Author: Alan Aguilar Sologuren
*/
#ifndef NMEALIB_NMEALIB___NMEACODE_H_
#define NMEALIB_NMEALIB___NMEACODE_H_
#include "nmea_defs.h"
class nmeaCode {
public:
nmeaCode(char* name=nullptr);
virtual ~nmeaCode();
virtual void code_init(void);
virtual int code_gen(char *buff, int buff_sz);// TODO para generator
virtual int code_parse(const char *buff, int buff_sz);// TODO para parser
private:
const char codename[8];
const int type;
char *codebuff;
};
#endif /* NMEALIB_NMEALIB___NMEACODE_H_ */