Public Member Functions | Static Public Attributes
novatel_gps_driver::InsstdevParser Class Reference

#include <insstdev.h>

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

List of all members.

Public Member Functions

uint32_t GetMessageId () const override
const std::string GetMessageName () const override
novatel_gps_msgs::InsstdevPtr ParseAscii (const NovatelSentence &sentence) override throw (ParseException)
 Converts sentence into a ROS message pointer and returns it.
novatel_gps_msgs::InsstdevPtr 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_FIELDS = 14
static constexpr size_t BINARY_LENGTH = 52
static constexpr uint32_t MESSAGE_ID = 2051
static const std::string MESSAGE_NAME = "INSSTDEV"

Detailed Description

Definition at line 38 of file insstdev.h.


Member Function Documentation

uint32_t novatel_gps_driver::InsstdevParser::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::InsstdevPtr >.

Definition at line 36 of file insstdev.cpp.

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

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

Definition at line 41 of file insstdev.cpp.

novatel_gps_msgs::InsstdevPtr novatel_gps_driver::InsstdevParser::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::InsstdevPtr >.

Definition at line 76 of file insstdev.cpp.

novatel_gps_msgs::InsstdevPtr novatel_gps_driver::InsstdevParser::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::InsstdevPtr >.

Definition at line 47 of file insstdev.cpp.


Member Data Documentation

constexpr size_t novatel_gps_driver::InsstdevParser::ASCII_FIELDS = 14 [static]

Definition at line 52 of file insstdev.h.

constexpr size_t novatel_gps_driver::InsstdevParser::BINARY_LENGTH = 52 [static]

Definition at line 51 of file insstdev.h.

constexpr uint32_t novatel_gps_driver::InsstdevParser::MESSAGE_ID = 2051 [static]

Definition at line 49 of file insstdev.h.

const std::string novatel_gps_driver::InsstdevParser::MESSAGE_NAME = "INSSTDEV" [static]

Definition at line 50 of file insstdev.h.


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


novatel_gps_driver
Author(s):
autogenerated on Sun Oct 8 2017 02:40:29