GNSS receiver tools
1
Tools for use with GNSS receivers
|
Base class for messages that go to the GPS receiver. More...
#include <UBX.hh>
Public Types | |
typedef std::shared_ptr< Input_message > | ptr |
Public Member Functions | |
const 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 Length | payload_length (void) const |
The length of the payload (not including message class/ID) More... | |
virtual void | body_to_buf (unsigned char *buffer) const |
Write body fields into a pre-allocated buffer. More... | |
Input_message (Class_ID cls, uint8_t id) | |
Constructor from a message class and ID. More... | |
Additional Inherited Members |
typedef std::shared_ptr<Input_message> UBX::Input_message::ptr |
|
inlineprotected |
|
inlineprotectedvirtual |
|
inline |
|
inlineprotectedvirtual |
|
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. |