Class SensorInfoStreamMeta

Inheritance Relationships

Base Type

Class Documentation

class SensorInfoStreamMeta : public ouster::sdk::osf::MetadataEntryHelper<SensorInfoStreamMeta>

Represents the metadata entry associated with a SensorInfoStream.

Public Functions

SensorInfoStreamMeta()

Create a SensorInfoStreamMeta.

virtual std::vector<uint8_t> buffer() const final

Byte represantation of the internal derived metadata type, used as serialization function when saving to OSF file.

Returns:

The byte vector representation of the metadata.

static std::unique_ptr<MetadataEntry> from_buffer(const ouster::sdk::osf::OsfBuffer buf)

Create a SensorInfoStreamMeta object from a byte array.

Parameters:

buf[in] – The raw flatbuffer byte vector to initialize from.

Returns:

The new SensorInfoStreamMeta cast as a MetadataEntry

virtual std::string repr() const override

Get the string representation for the SensorInfoStreamMeta object.

Returns:

The string representation for the SensorInfoStreamMeta object.