livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
Loading...
Searching...
No Matches
livox::mid360::InquireResult Struct Reference

Result of 0x0101: owns the ACK bytes so that values stays valid after moves. More...

#include <livox/mid360/session.hpp>

Public Member Functions

 InquireResult (InquireResult &&) noexcept=default
 Moves keep values valid: the views follow the moved raw buffer.
InquireResult & operator= (InquireResult &&) noexcept=default
 See the move constructor.
 InquireResult (const InquireResult &)=delete
InquireResult & operator= (const InquireResult &)=delete
std::optional< std::span< const std::byte > > get (Key key) const noexcept
 Value bytes of key, or nullopt when the ACK did not carry it.

Public Attributes

RetCode ret_code = RetCode::kSuccess
 ret_code of the ACK
std::vector< KeyValue > values
 views into raw
std::vector< std::byte > raw
 owned copy of the ACK payload

Detailed Description

Result of 0x0101: owns the ACK bytes so that values stays valid after moves.


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