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

#include <gphdt.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::GphdtPtr ParseAscii (const NmeaSentence &sentence) noexcept(false) override
 Converts sentence into a ROS message pointer and returns it. More...
 

Static Public Attributes

static const std::string MESSAGE_NAME = "GPHDT"
 

Additional Inherited Members

- Private Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::GphdtPtr >
virtual novatel_gps_msgs::GphdtPtr ParseAscii (const NovatelSentence &sentence) noexcept(false)
 Converts sentence into a ROS message pointer and returns it. More...
 
virtual novatel_gps_msgs::GphdtPtr ParseBinary (const BinaryMessage &bin_msg) noexcept(false)
 Converts bin_msg into a ROS message pointer and returns it. More...
 
virtual ~MessageParser ()=default
 

Detailed Description

Definition at line 9 of file gphdt.h.

Member Function Documentation

uint32_t novatel_gps_driver::GphdtParser::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::GphdtPtr >.

Definition at line 7 of file gphdt.cpp.

const std::string novatel_gps_driver::GphdtParser::GetMessageName ( ) const
overridevirtual
Returns
The ASCII message name.

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

Definition at line 12 of file gphdt.cpp.

novatel_gps_msgs::GphdtPtr novatel_gps_driver::GphdtParser::ParseAscii ( const NmeaSentence sentence)
overridevirtualnoexcept

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::GphdtPtr >.

Definition at line 17 of file gphdt.cpp.

Member Data Documentation

const std::string novatel_gps_driver::GphdtParser::MESSAGE_NAME = "GPHDT"
static

Definition at line 18 of file gphdt.h.


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


novatel_gps_driver
Author(s):
autogenerated on Thu Jul 16 2020 03:17:30