template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 440 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/cpp/fidl/fuchsia.ui.composition.internal/cpp/wire_types.h
Public Methods
::fuchsia_ui_composition_internal::wire::FrameInfo 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 ()
The index of the VMO where the requested frame has been rendered
in the buffer collection.
BuilderImpl & buffer_index (uint32_t elem)
The index of the VMO where the requested frame has been rendered
in the buffer collection.
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 time that the buffer was populated with the frame.
BuilderImpl & capture_timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The time that the buffer was populated with the frame.
bool has_buffer_release_token ()
void clear_buffer_release_token ()
Clears the buffer_release_token field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::eventpair & buffer_release_token ()
The release token for |buffer_index|. The client drops the eventpair
to signal to the server that |buffer_index| is free for writing.
If the eventpair is not dropped, then in the future calls to
[`GetNextFrame`], if there are no available buffers, the server will
wait until the client frees up a past buffer. If the client was holding
on to all buffers in the buffer collection and then
releases a buffer while hanging, the server will immediately return the
latest frame.
BuilderImpl & buffer_release_token (::zx::eventpair elem)
The release token for |buffer_index|. The client drops the eventpair
to signal to the server that |buffer_index| is free for writing.
If the eventpair is not dropped, then in the future calls to
[`GetNextFrame`], if there are no available buffers, the server will
wait until the client frees up a past buffer. If the client was holding
on to all buffers in the buffer collection and then
releases a buffer while hanging, the server will immediately return the
latest frame.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_ui_composition_internal::wire::FrameInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition_internal::wire::FrameInfo>> && frame)