4#ifndef WATERLINKEDSONAR_RIP_HPP
5#define WATERLINKEDSONAR_RIP_HPP
38 std::variant<std::monostate, RangeImageView, BitmapImageView, ImuBatchView>
76 std::unique_ptr<Impl> impl_;
Range Image Protocol codec (https://docs.waterlinked.com/sonar-3d/sonar-3d-15-api/).
Definition rip.hpp:56
Decoder(Decoder &&) noexcept
Decoded decode(const std::uint8_t *data, std::size_t size)
Decodes one datagram.
Views of the decoded RIP messages: range images, bitmap images and IMU batches.
const char * to_string(DecodeStatus status)
Human-readable name for a decode status; a static string, never null.
DecodeStatus
Outcome of decoding one datagram.
Definition rip.hpp:17
@ UNKNOWN_TYPE
Valid packet carrying a message type other than the three published ones.
Result of Decoder::decode().
Definition rip.hpp:36
std::string unknown_type_url
Type URL of the skipped message when status is UNKNOWN_TYPE.
Definition rip.hpp:41
DecodeStatus status
Definition rip.hpp:37
std::variant< std::monostate, RangeImageView, BitmapImageView, ImuBatchView > payload
Definition rip.hpp:39