Class FrameSetSourceMetadataStreamMeta

Inheritance Relationships

Base Type

Class Documentation

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

Represents the metadata entry associated with a FrameSetSourceMetadataStream.

Public Functions

FrameSetSourceMetadataStreamMeta()

Create a FrameSetSourceMetadataStreamMeta.

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 FrameSetSourceMetadataStreamMeta object from a byte array.

Parameters:

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

Returns:

The new FrameSetSourceMetadataStreamMeta cast as a MetadataEntry

virtual std::string repr() const override

Get the string representation for the FrameSetSourceMetadataStreamMeta object.

Returns:

The string representation for the FrameSetSourceMetadataStreamMeta object.