Class SensorInfoStream

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class SensorInfoStream : public ouster::sdk::osf::MessageStream<SensorInfoStreamMeta, SensorInfoMessage>

SensorInfoStream that encodes sensor info config objects into the messages.

Public Functions

SensorInfoStream(Token key, Writer *writer)
Parameters:
  • key[in] – Private class used to prevent non-friends from calling this.

  • writer[in] – The writer object to use to write messages out.

inline const meta_type &meta() const

Return the concrete metadata type.

This has templated types.

Returns:

The concrete metadata type.

Public Static Functions

static std::unique_ptr<obj_type> from_buffer(const std::vector<uint8_t> &buf)

Deserialize the object from a buffer of bytes.

Parameters:

buf[in] – buffer to deserialize from

Returns:

the deserialized object