template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3195 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
Public Methods
::fuchsia_ui_composition::wire::ScreenshotTakeResponse Build ()
Build and return the table. The builder should not be used after this.
bool has_vmo ()
void clear_vmo ()
Clears the vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & vmo ()
CPU mappable read-only VMO that contains screenshot data. The server owns the VMO and
may reuse for the next [`Take`]. The VMO is guaranteed to be accessible after mapping.
In some allocations, VMO::read() might not be available, i.e. on emulator.
Basic usage: After the client receives a VMO handle, to ensure data stability, it should
finish reading the VMO before calling [`Take`] again. When finished reading, the client
should drop the VMO handle.
Advanced usage: To edit the data, or to persist it beyond the next [`Take`] call, the
client should copy the data to a private VMO.
BuilderImpl & vmo (::zx::vmo elem)
CPU mappable read-only VMO that contains screenshot data. The server owns the VMO and
may reuse for the next [`Take`]. The VMO is guaranteed to be accessible after mapping.
In some allocations, VMO::read() might not be available, i.e. on emulator.
Basic usage: After the client receives a VMO handle, to ensure data stability, it should
finish reading the VMO before calling [`Take`] again. When finished reading, the client
should drop the VMO handle.
Advanced usage: To edit the data, or to persist it beyond the next [`Take`] call, the
client should copy the data to a private VMO.
bool has_size ()
void clear_size ()
Clears the size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::SizeU & size ()
Size of the screenshot in pixels.
BuilderImpl & size (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)
Size of the screenshot in pixels.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_ui_composition::wire::ScreenshotTakeResponse, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition::wire::ScreenshotTakeResponse>> && frame)