Class ParameterArrayView

Class Documentation

class ParameterArrayView

A view over an unowned parameter array.

This lifetime of this view is tied to the ParameterArray from which it was derived. It is the caller’s responsibility to ensure the validity of this lifetime when accessing the view.

Public Functions

explicit ParameterArrayView(const foxglove_parameter_array *ptr)

Constructs a parameter array from a raw pointer.

ParameterArrayView implementation.

std::vector<ParameterView> parameters() const

Returns a vector of immutable parameter views.