#include <header.h>
Public Member Functions | |
uint32_t | GetMessageId () const override |
const std::string | GetMessageName () const override |
novatel_gps_msgs::NovatelMessageHeader | ParseAscii (const NovatelSentence &sentence) override throw (ParseException) |
Converts sentence into a ROS message pointer and returns it. | |
novatel_gps_msgs::NovatelMessageHeader | ParseBinary (const BinaryMessage &bin_msg) override throw (ParseException) |
Converts bin_msg into a ROS message pointer and returns it. | |
Static Public Attributes | |
static constexpr uint32_t | BINARY_HEADER_LENGTH = 28 |
uint32_t novatel_gps_driver::HeaderParser::GetMessageId | ( | ) | const [override, virtual] |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelMessageHeader >.
Definition at line 34 of file header.cpp.
const std::string novatel_gps_driver::HeaderParser::GetMessageName | ( | ) | const [override, virtual] |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelMessageHeader >.
Definition at line 39 of file header.cpp.
novatel_gps_msgs::NovatelMessageHeader novatel_gps_driver::HeaderParser::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.
[in] | bin_msg | The message to convert. |
Reimplemented from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelMessageHeader >.
Definition at line 103 of file header.cpp.
novatel_gps_msgs::NovatelMessageHeader novatel_gps_driver::HeaderParser::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.
[in] | bin_msg | The message to convert. |
Reimplemented from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelMessageHeader >.
Definition at line 44 of file header.cpp.
constexpr uint32_t novatel_gps_driver::HeaderParser::BINARY_HEADER_LENGTH = 28 [static] |