Public Member Functions | Static Public Attributes | Private Attributes | List of all members
novatel_gps_driver::GpggaParser Class Reference

#include <gpgga.h>

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

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. More...
 
bool WasLastGpsValid () const
 
- Public Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::GpggaPtr >
virtual novatel_gps_msgs::GpggaPtr ParseAscii (const NovatelSentence &sentence) throw (ParseException)
 Converts sentence into a ROS message pointer and returns it. More...
 
virtual novatel_gps_msgs::GpggaPtr ParseBinary (const BinaryMessage &bin_msg) throw (ParseException)
 Converts bin_msg into a ROS message pointer and returns it. More...
 
virtual ~MessageParser ()
 

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

novatel_gps_driver::GpggaParser::GpggaParser ( )
inline

Definition at line 41 of file gpgga.h.

Member Function Documentation

uint32_t novatel_gps_driver::GpggaParser::GetMessageId ( ) const
overridevirtual
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
overridevirtual
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
)
overridevirtual

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.

bool novatel_gps_driver::GpggaParser::WasLastGpsValid ( ) const

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.

bool novatel_gps_driver::GpggaParser::was_last_gps_valid_
private

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:36:46