GNSS receiver tools
1
Tools for use with GNSS receivers
|
Base class for messages that go to the GPS receiver with a sub-ID. More...
#include <SkyTraqBin_inputs_with_subid.hh>
Public Types | |
typedef std::shared_ptr< Input_message_with_subid > | ptr |
Public Member Functions | |
const Payload_length | message_length (void) const |
The total length of the message. More... | |
virtual void | to_buf (unsigned char *buffer) const |
Write the message into a buffer. More... | |
![]() | |
with_subid (uint8_t subid) | |
Constructor. More... | |
const uint8_t | message_subid (void) const |
Getter method for message sub-ID. More... | |
Protected Member Functions | |
virtual const Payload_length | body_length (void) const |
The length of the body (not including message id or sub-id) More... | |
virtual void | body_to_buf (unsigned char *buffer) const |
Write body fields into a pre-allocated buffer. More... | |
Input_message_with_subid (uint8_t id, uint8_t subid) | |
Constructor from a message ID and sub-ID. More... | |
Additional Inherited Members | |
![]() | |
uint8_t | _msg_subid |
Base class for messages that go to the GPS receiver with a sub-ID.
Definition at line 47 of file SkyTraqBin_inputs_with_subid.hh.
typedef std::shared_ptr<Input_message_with_subid> SkyTraqBin::Input_message_with_subid::ptr |
Definition at line 71 of file SkyTraqBin_inputs_with_subid.hh.
|
inlineprotected |
Constructor from a message ID and sub-ID.
Definition at line 56 of file SkyTraqBin_inputs_with_subid.hh.
|
inlineprotectedvirtual |
The length of the body (not including message id or sub-id)
Reimplemented from SkyTraqBin::Input_message.
Definition at line 50 of file SkyTraqBin_inputs_with_subid.hh.
|
inlineprotectedvirtual |
Write body fields into a pre-allocated buffer.
Reimplemented from SkyTraqBin::Input_message.
Definition at line 53 of file SkyTraqBin_inputs_with_subid.hh.
|
inline |
The total length of the message.
Definition at line 63 of file SkyTraqBin_inputs_with_subid.hh.
|
virtual |
Write the message into a buffer.
Use message_length() to know how big the buffer needs to be.
Reimplemented from SkyTraqBin::Input_message.
Definition at line 70 of file SkyTraqBin.cc.