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

#include <inscov.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::InscovPtr ParseAscii (const NovatelSentence &sentence) noexcept(false) override
 Converts sentence into a ROS message pointer and returns it. More...
 
novatel_gps_msgs::InscovPtr 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::InscovPtr >
virtual novatel_gps_msgs::InscovPtr 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 = 29
 
static constexpr size_t BINARY_LENGTH = 228
 
static constexpr uint32_t MESSAGE_ID = 264
 
static const std::string MESSAGE_NAME = "INSCOV"
 

Detailed Description

Definition at line 38 of file inscov.h.

Member Function Documentation

uint32_t novatel_gps_driver::InscovParser::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::InscovPtr >.

Definition at line 36 of file inscov.cpp.

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

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

Definition at line 41 of file inscov.cpp.

novatel_gps_msgs::InscovPtr novatel_gps_driver::InscovParser::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::InscovPtr >.

Definition at line 79 of file inscov.cpp.

novatel_gps_msgs::InscovPtr novatel_gps_driver::InscovParser::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::InscovPtr >.

Definition at line 47 of file inscov.cpp.

Member Data Documentation

constexpr size_t novatel_gps_driver::InscovParser::ASCII_FIELDS = 29
static

Definition at line 52 of file inscov.h.

constexpr size_t novatel_gps_driver::InscovParser::BINARY_LENGTH = 228
static

Definition at line 51 of file inscov.h.

constexpr uint32_t novatel_gps_driver::InscovParser::MESSAGE_ID = 264
static

Definition at line 49 of file inscov.h.

const std::string novatel_gps_driver::InscovParser::MESSAGE_NAME = "INSCOV"
static

Definition at line 50 of file inscov.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:31