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

#include <inspva.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::InspvaPtr ParseAscii (const NovatelSentence &sentence) noexcept(false) override
 Converts sentence into a ROS message pointer and returns it. More...
 
novatel_gps_msgs::InspvaPtr 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::InspvaPtr >
virtual uint32_t GetMessageId () const=0
 
virtual const std::string GetMessageName () const=0
 
virtual novatel_gps_msgs::InspvaPtr 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_FIELDS = 12
 
static constexpr size_t BINARY_LENGTH = 88
 
static constexpr uint32_t MESSAGE_ID = 507
 
static const std::string MESSAGE_NAME = "INSPVA"
 

Detailed Description

Definition at line 38 of file inspva.h.

Member Function Documentation

◆ GetMessageId()

uint32_t novatel_gps_driver::InspvaParser::GetMessageId ( ) const
override

Definition at line 36 of file inspva.cpp.

◆ GetMessageName()

const std::string novatel_gps_driver::InspvaParser::GetMessageName ( ) const
override

Definition at line 41 of file inspva.cpp.

◆ ParseAscii()

novatel_gps_msgs::InspvaPtr novatel_gps_driver::InspvaParser::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::InspvaPtr >.

Definition at line 120 of file inspva.cpp.

◆ ParseBinary()

novatel_gps_msgs::InspvaPtr novatel_gps_driver::InspvaParser::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::InspvaPtr >.

Definition at line 47 of file inspva.cpp.

Member Data Documentation

◆ ASCII_FIELDS

constexpr size_t novatel_gps_driver::InspvaParser::ASCII_FIELDS = 12
staticconstexpr

Definition at line 52 of file inspva.h.

◆ BINARY_LENGTH

constexpr size_t novatel_gps_driver::InspvaParser::BINARY_LENGTH = 88
staticconstexpr

Definition at line 51 of file inspva.h.

◆ MESSAGE_ID

constexpr uint32_t novatel_gps_driver::InspvaParser::MESSAGE_ID = 507
staticconstexpr

Definition at line 49 of file inspva.h.

◆ MESSAGE_NAME

const std::string novatel_gps_driver::InspvaParser::MESSAGE_NAME = "INSPVA"
static

Definition at line 50 of file inspva.h.


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


novatel_gps_driver
Author(s):
autogenerated on Sun Oct 1 2023 02:58:58