template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 202 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_types.h
Public Methods
::fuchsia_ui_display_singleton::wire::Metrics Build ()
Build and return the table. The builder should not be used after this.
bool has_extent_in_px ()
void clear_extent_in_px ()
Clears the extent_in_px field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::SizeU & extent_in_px ()
Same meaning as `horizontal_resolution` and `vertical_resolution`
in `fuchsia.hardware.display.Mode`. Given in physical pixels.
BuilderImpl & extent_in_px (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)
Same meaning as `horizontal_resolution` and `vertical_resolution`
in `fuchsia.hardware.display.Mode`. Given in physical pixels.
bool has_extent_in_mm ()
void clear_extent_in_mm ()
Clears the extent_in_mm field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::SizeU & extent_in_mm ()
Same meaning as `horizontal_size_mm` and `vertical_size_mm`
in `fuchsia.hardware.display.Info`.
BuilderImpl & extent_in_mm (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)
Same meaning as `horizontal_size_mm` and `vertical_size_mm`
in `fuchsia.hardware.display.Info`.
bool has_recommended_device_pixel_ratio ()
void clear_recommended_device_pixel_ratio ()
Clears the recommended_device_pixel_ratio field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::VecF & recommended_device_pixel_ratio ()
The number of physical pixels per "logical" pixel, for example as in
`fuchsia.ui.composition.LayoutInfo.logical_size`. It provides an indication
of the size of image buffers that should be allocated. This value would typically
be used by a component near the root of the scene graph to set a scale for the rest
of the scene beneath.
BuilderImpl & recommended_device_pixel_ratio (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::VecF>> elem)
The number of physical pixels per "logical" pixel, for example as in
`fuchsia.ui.composition.LayoutInfo.logical_size`. It provides an indication
of the size of image buffers that should be allocated. This value would typically
be used by a component near the root of the scene graph to set a scale for the rest
of the scene beneath.
bool has_maximum_refresh_rate_in_millihertz ()
void clear_maximum_refresh_rate_in_millihertz ()
Clears the maximum_refresh_rate_in_millihertz field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & maximum_refresh_rate_in_millihertz ()
The maximum mumber of images transmitted to the display in 1000 seconds.
This is the display's maximum vertical refresh rate, in millihertz (0.001 Hz).
BuilderImpl & maximum_refresh_rate_in_millihertz (uint32_t elem)
The maximum mumber of images transmitted to the display in 1000 seconds.
This is the display's maximum vertical refresh rate, in millihertz (0.001 Hz).
Protected Methods
void WireTableBaseBuilder< ::fuchsia_ui_display_singleton::wire::Metrics, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_display_singleton::wire::Metrics>> && frame)