Public Member Functions | Static Public Attributes | Private Attributes
novatel_gps_driver::GpggaParser Class Reference

#include <gpgga.h>

Inheritance diagram for novatel_gps_driver::GpggaParser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

uint32_t GetMessageId () const override
const std::string GetMessageName () const override
 GpggaParser ()
novatel_gps_msgs::GpggaPtr ParseAscii (const NmeaSentence &sentence) override throw (ParseException)
 Converts sentence into a ROS message pointer and returns it.
bool WasLastGpsValid () const

Static Public Attributes

static const std::string MESSAGE_NAME = "GPGGA"

Private Attributes

bool was_last_gps_valid_

Detailed Description

Definition at line 38 of file gpgga.h.


Constructor & Destructor Documentation

Definition at line 41 of file gpgga.h.


Member Function Documentation

uint32_t novatel_gps_driver::GpggaParser::GetMessageId ( ) const [override, virtual]
Returns:
The binary message ID. Should be 0 for messages that have no binary representation.

Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GpggaPtr >.

Definition at line 37 of file gpgga.cpp.

const std::string novatel_gps_driver::GpggaParser::GetMessageName ( ) const [override, virtual]
Returns:
The ASCII message name.

Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GpggaPtr >.

Definition at line 42 of file gpgga.cpp.

novatel_gps_msgs::GpggaPtr novatel_gps_driver::GpggaParser::ParseAscii ( const NmeaSentence sentence) throw (ParseException) [override, virtual]

Converts sentence into a ROS message pointer and returns it.

The returned value must not be NULL. ParseException should be thrown if there are any issues parsing the message.

Parameters:
[in]bin_msgThe message to convert.
Returns:
A valid ROS message pointer.

Reimplemented from novatel_gps_driver::MessageParser< novatel_gps_msgs::GpggaPtr >.

Definition at line 47 of file gpgga.cpp.

Definition at line 128 of file gpgga.cpp.


Member Data Documentation

const std::string novatel_gps_driver::GpggaParser::MESSAGE_NAME = "GPGGA" [static]

Definition at line 52 of file gpgga.h.

Definition at line 55 of file gpgga.h.


The documentation for this class was generated from the following files:


novatel_gps_driver
Author(s):
autogenerated on Wed Jul 3 2019 19:40:37