Public Member Functions | Static Public Attributes | Private Member Functions
novatel_gps_driver::Heading2Parser Class Reference

#include <heading2.h>

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

List of all members.

Public Member Functions

uint32_t GetMessageId () const override
const std::string GetMessageName () const override
novatel_gps_msgs::NovatelHeading2Ptr ParseAscii (const NovatelSentence &sentence) override throw (ParseException)
 Converts sentence into a ROS message pointer and returns it.
novatel_gps_msgs::NovatelHeading2Ptr ParseBinary (const BinaryMessage &bin_msg) override throw (ParseException)
 Converts bin_msg into a ROS message pointer and returns it.

Static Public Attributes

static constexpr size_t ASCII_LENGTH = 18
static constexpr size_t BINARY_LENGTH = 48
static constexpr uint16_t MESSAGE_ID = 1335
static const std::string MESSAGE_NAME = "HEADING2"

Private Member Functions

uint8_t SolutionSourceToMsgEnum (uint8_t source_mask) throw (ParseException)

Detailed Description

Definition at line 40 of file heading2.h.


Member Function Documentation

uint32_t novatel_gps_driver::Heading2Parser::GetMessageId ( ) const [override, virtual]
Returns:
The binary message ID. Should be 0 for messages that have no binary representation.

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

Definition at line 40 of file heading2.cpp.

const std::string novatel_gps_driver::Heading2Parser::GetMessageName ( ) const [override, virtual]
Returns:
The ASCII message name.

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

Definition at line 45 of file heading2.cpp.

novatel_gps_msgs::NovatelHeading2Ptr novatel_gps_driver::Heading2Parser::ParseAscii ( const NovatelSentence sentence) throw (ParseException) [override, virtual]

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

Definition at line 115 of file heading2.cpp.

novatel_gps_msgs::NovatelHeading2Ptr novatel_gps_driver::Heading2Parser::ParseBinary ( const BinaryMessage bin_msg) throw (ParseException) [override, virtual]

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

Definition at line 50 of file heading2.cpp.

uint8_t novatel_gps_driver::Heading2Parser::SolutionSourceToMsgEnum ( uint8_t  source_mask) throw (ParseException) [private]

Definition at line 176 of file heading2.cpp.


Member Data Documentation

constexpr size_t novatel_gps_driver::Heading2Parser::ASCII_LENGTH = 18 [static]

Definition at line 53 of file heading2.h.

constexpr size_t novatel_gps_driver::Heading2Parser::BINARY_LENGTH = 48 [static]

Definition at line 52 of file heading2.h.

constexpr uint16_t novatel_gps_driver::Heading2Parser::MESSAGE_ID = 1335 [static]

Definition at line 51 of file heading2.h.

const std::string novatel_gps_driver::Heading2Parser::MESSAGE_NAME = "HEADING2" [static]

Definition at line 54 of file heading2.h.


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


novatel_gps_driver
Author(s):
autogenerated on Wed Jul 3 2019 19:40:37