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

#include <bestutm.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::NovatelUtmPositionPtr ParseAscii (const NovatelSentence &sentence) noexcept(false) override
 Converts sentence into a ROS message pointer and returns it. More...
 
novatel_gps_msgs::NovatelUtmPositionPtr ParseBinary (const BinaryMessage &bin_msg) noexcept(false) override
 Converts bin_msg into a ROS message pointer and returns it. More...
 
- Public Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelUtmPositionPtr >
virtual novatel_gps_msgs::NovatelUtmPositionPtr ParseAscii (const NmeaSentence &sentence) noexcept(false)
 Converts sentence into a ROS message pointer and returns it. More...
 
virtual ~MessageParser ()=default
 

Static Public Attributes

static constexpr size_t ASCII_LENGTH = 23
 
static constexpr size_t BINARY_LENGTH = 80
 
static constexpr uint16_t MESSAGE_ID = 726
 
static const std::string MESSAGE_NAME = "BESTUTM"
 

Detailed Description

Definition at line 40 of file bestutm.h.

Member Function Documentation

uint32_t novatel_gps_driver::BestutmParser::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::NovatelUtmPositionPtr >.

Definition at line 40 of file bestutm.cpp.

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

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

Definition at line 45 of file bestutm.cpp.

novatel_gps_msgs::NovatelUtmPositionPtr novatel_gps_driver::BestutmParser::ParseAscii ( const NovatelSentence 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::NovatelUtmPositionPtr >.

Definition at line 112 of file bestutm.cpp.

novatel_gps_msgs::NovatelUtmPositionPtr novatel_gps_driver::BestutmParser::ParseBinary ( const BinaryMessage bin_msg)
overridevirtualnoexcept

Converts bin_msg 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::NovatelUtmPositionPtr >.

Definition at line 50 of file bestutm.cpp.

Member Data Documentation

constexpr size_t novatel_gps_driver::BestutmParser::ASCII_LENGTH = 23
static

Definition at line 53 of file bestutm.h.

constexpr size_t novatel_gps_driver::BestutmParser::BINARY_LENGTH = 80
static

Definition at line 52 of file bestutm.h.

constexpr uint16_t novatel_gps_driver::BestutmParser::MESSAGE_ID = 726
static

Definition at line 51 of file bestutm.h.

const std::string novatel_gps_driver::BestutmParser::MESSAGE_NAME = "BESTUTM"
static

Definition at line 54 of file bestutm.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