waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
Loading...
Searching...
No Matches
Public Attributes | List of all members
waterlinked::sonar::rip::Decoded Struct Reference

Result of Decoder::decode(). More...

#include <waterlinkedsonar/rip.hpp>

Public Attributes

DecodeStatus status {DecodeStatus::PARSE_FAILED}
 
std::variant< std::monostate, RangeImageView, BitmapImageView, ImuBatchViewpayload
 
std::string unknown_type_url
 Type URL of the skipped message when status is UNKNOWN_TYPE.
 

Detailed Description

Result of Decoder::decode().

Payload holds a view when status is OK and std::monostate otherwise. The views point into the decoder's storage; see Decoder for their lifetime.

Member Data Documentation

◆ payload

std::variant<std::monostate, RangeImageView, BitmapImageView, ImuBatchView> waterlinked::sonar::rip::Decoded::payload

◆ status

DecodeStatus waterlinked::sonar::rip::Decoded::status {DecodeStatus::PARSE_FAILED}

◆ unknown_type_url

std::string waterlinked::sonar::rip::Decoded::unknown_type_url

Type URL of the skipped message when status is UNKNOWN_TYPE.


The documentation for this struct was generated from the following file: