GNSS receiver tools
1
Tools for use with GNSS receivers
|
Base class for messages that go to the GPS receiver. More...
#include <SkyTraqBin.hh>
Public Types | |
typedef std::shared_ptr< Input_message > | 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... | |
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 (uint8_t id) | |
Constructor from a message ID. More... | |
Additional Inherited Members |
Base class for messages that go to the GPS receiver.
Definition at line 129 of file SkyTraqBin.hh.
typedef std::shared_ptr<Input_message> SkyTraqBin::Input_message::ptr |
Definition at line 153 of file SkyTraqBin.hh.
|
inlineprotected |
Constructor from a message ID.
Definition at line 138 of file SkyTraqBin.hh.
|
inlineprotectedvirtual |
The length of the body (not including message ID or sub-ID)
Reimplemented in SkyTraqBin::Input_message_with_subid.
Definition at line 132 of file SkyTraqBin.hh.
|
inlineprotectedvirtual |
Write body fields into a pre-allocated buffer.
Reimplemented in SkyTraqBin::Input_message_with_subid.
Definition at line 135 of file SkyTraqBin.hh.
|
inline |
The total length of the message.
Definition at line 144 of file SkyTraqBin.hh.
|
virtual |
Write the message into a buffer.
buffer | Pointer to a buffer, allocated and freed by the caller. Use message_length() to know how big the buffer needs to be. |
Reimplemented in SkyTraqBin::Input_message_with_subid.
Definition at line 52 of file SkyTraqBin.cc.