template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 644 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/cpp/fidl/fuchsia.camera3/cpp/wire_types.h

Public Methods

::fuchsia_camera3::wire::StreamProperties2 Build ()

Build and return the table. The builder should not be used after this.

bool has_image_format ()
void clear_image_format ()

Clears the image_format field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_sysmem::wire::ImageFormat2 & image_format ()

Describes the native image format used by a stream.

BuilderImpl & image_format (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_sysmem::wire::ImageFormat2>> elem)

Describes the native image format used by a stream.

bool has_frame_rate ()
void clear_frame_rate ()

Clears the frame_rate field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_camera3::wire::FrameRate & frame_rate ()

Describes the framerate used by a stream.

BuilderImpl & frame_rate (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_camera3::wire::FrameRate>> elem)

Describes the framerate used by a stream.

bool has_supports_crop_region ()
void clear_supports_crop_region ()

Clears the supports_crop_region field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & supports_crop_region ()

Indicates whether a stream supports the SetCropRegion method.

BuilderImpl & supports_crop_region (bool elem)

Indicates whether a stream supports the SetCropRegion method.

bool has_supported_resolutions ()
void clear_supported_resolutions ()

Clears the supported_resolutions field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_math::wire::Size> & supported_resolutions ()

Describes the precise resolutions supported by a stream, i.e. those for which SetResolution

results in a WatchResolution callback of the same value. If empty, it indicates that the

stream supports arbitrary resolutions. If non-empty, the list contains at least one element

reflecting the native resolution specified by |image_format|.

BuilderImpl & supported_resolutions (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_math::wire::Size>>> elem)

Describes the precise resolutions supported by a stream, i.e. those for which SetResolution

results in a WatchResolution callback of the same value. If empty, it indicates that the

stream supports arbitrary resolutions. If non-empty, the list contains at least one element

reflecting the native resolution specified by |image_format|.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_camera3::wire::StreamProperties2, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_camera3::wire::StreamProperties2>> && frame)

Records