DUNE: Uniform Navigational Environment  2.4.2
DUNE::Utils::NMEAParser Class Reference

Public Member Functions

 NMEAParser (int garbage=0)
 
 ~NMEAParser (void)
 
bool parse (char byte, NMEASentence &sentence)
 
std::string getSentence (void)
 

Static Public Member Functions

static void parseCoordinate (const char *str, double &var, double def)
 
static void parseUTCTime (const char *str, double &var, double def)
 
static void parseInteger (const char *str, int &var)
 
static void parseDouble (const char *str, double &var)
 
static bool validateChecksum (const char *bfr, int bfr_len)
 

Constructor & Destructor Documentation

DUNE::Utils::NMEAParser::NMEAParser ( int  garbage = 0)
DUNE::Utils::NMEAParser::~NMEAParser ( void  )
inline

Member Function Documentation

std::string DUNE::Utils::NMEAParser::getSentence ( void  )
inline
bool DUNE::Utils::NMEAParser::parse ( char  byte,
NMEASentence sentence 
)
void DUNE::Utils::NMEAParser::parseCoordinate ( const char *  str,
double &  var,
double  def 
)
static
void DUNE::Utils::NMEAParser::parseDouble ( const char *  str,
double &  var 
)
static
void DUNE::Utils::NMEAParser::parseInteger ( const char *  str,
int &  var 
)
static
void DUNE::Utils::NMEAParser::parseUTCTime ( const char *  str,
double &  var,
double  def 
)
static
bool DUNE::Utils::NMEAParser::validateChecksum ( const char *  bfr,
int  bfr_len 
)
static
Collaboration diagram for DUNE::Utils::NMEAParser:
Collaboration graph