template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_camera3::wire::FrameInfo2 Build ()

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

bool has_buffer_index ()
void clear_buffer_index ()

Clears the buffer_index field.

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

O(number_of_fields) complexity.

uint32_t & buffer_index ()

Identifies the buffer used for this frame as an index into the most recently negotiated

buffer collection.

BuilderImpl & buffer_index (uint32_t elem)

Identifies the buffer used for this frame as an index into the most recently negotiated

buffer collection.

bool has_frame_counter ()
void clear_frame_counter ()

Clears the frame_counter field.

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

O(number_of_fields) complexity.

uint64_t & frame_counter ()

A monotonically increasing counter indicating the number of frames written to this stream's

most recently negotiated buffer collection. Clients can use this to detect dropped frames

or generate nominal timestamps using the associated stream's framerate.

BuilderImpl & frame_counter (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

A monotonically increasing counter indicating the number of frames written to this stream's

most recently negotiated buffer collection. Clients can use this to detect dropped frames

or generate nominal timestamps using the associated stream's framerate.

bool has_timestamp ()
void clear_timestamp ()

Clears the timestamp field.

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

O(number_of_fields) complexity.

int64_t & timestamp ()

The value of the system monotonic clock, measured at the time the hardware completed

populating the buffer.

BuilderImpl & timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The value of the system monotonic clock, measured at the time the hardware completed

populating the buffer.

bool has_capture_timestamp ()
void clear_capture_timestamp ()

Clears the capture_timestamp field.

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

O(number_of_fields) complexity.

int64_t & capture_timestamp ()

The value of the system monotonic clock, measured at the time the hardware completed

populating the original buffer used to derive the contents of this buffer.

BuilderImpl & capture_timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The value of the system monotonic clock, measured at the time the hardware completed

populating the original buffer used to derive the contents of this buffer.

bool has_release_fence ()
void clear_release_fence ()

Clears the release_fence field.

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

O(number_of_fields) complexity.

::zx::eventpair & release_fence ()

The client must close this when it has completed reading from the buffer.

BuilderImpl & release_fence (::zx::eventpair elem)

The client must close this when it has completed reading from the buffer.

Protected Methods

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

Records