template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 356 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/wire_types.h

Public Methods

::fuchsia_hardware_goldfish::wire::CreateColorBuffer2Params Build ()

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

bool has_width ()
void clear_width ()

Clears the width field.

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

O(number_of_fields) complexity.

uint32_t & width ()

Width of the color buffer (unit: pixel).

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `width` is missing.

BuilderImpl & width (uint32_t elem)

Width of the color buffer (unit: pixel).

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `width` is missing.

bool has_height ()
void clear_height ()

Clears the height field.

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

O(number_of_fields) complexity.

uint32_t & height ()

Height of the color buffer (unit: pixel).

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `height` is missing.

BuilderImpl & height (uint32_t elem)

Height of the color buffer (unit: pixel).

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `height` is missing.

bool has_format ()
void clear_format ()

Clears the format field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_goldfish::wire::ColorBufferFormatType & format ()

Color format type of the color buffer.

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `format` is missing.

BuilderImpl & format (::fuchsia_hardware_goldfish::wire::ColorBufferFormatType elem)

Color format type of the color buffer.

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `format` is missing.

bool has_memory_property ()
void clear_memory_property ()

Clears the memory_property field.

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

O(number_of_fields) complexity.

uint32_t & memory_property ()

Memory property flags the color buffer should support. Only bits

from `fuchsia.hardware.goldfish.MEMORY_PROPERTY_*` are allowed.

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `memory_property` is missing.

BuilderImpl & memory_property (uint32_t elem)

Memory property flags the color buffer should support. Only bits

from `fuchsia.hardware.goldfish.MEMORY_PROPERTY_*` are allowed.

This argument is mandatory. `CreateColorBuffer2()` method returns

`ZX_ERR_INVALID_ARGS` if `memory_property` is missing.

bool has_physical_address ()
void clear_physical_address ()

Clears the physical_address field.

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

O(number_of_fields) complexity.

uint64_t & physical_address ()

Goldfish address space device allocates a physical memory address

for each host-visible color buffer. This address is mapped to a

corresponding hardware address when that host-visible

color buffer is created, and is unmapped when the color buffer is

torn down.

This field stores the physical memory address allocated by address

space device.

If `memory_property` has the bit `MEMORY_PROPERTY_HOST_VISIBLE` set,

this argument is mandatory. If `physical_address` is missing,

`CreateColorBuffer2()` returns `ZX_ERR_INVALID_ARGS`.

If `memory_property` doesn't have the `MEMORY_PROPERTY_HOST_VISIBLE`

bit, this argument is ignored.

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

Goldfish address space device allocates a physical memory address

for each host-visible color buffer. This address is mapped to a

corresponding hardware address when that host-visible

color buffer is created, and is unmapped when the color buffer is

torn down.

This field stores the physical memory address allocated by address

space device.

If `memory_property` has the bit `MEMORY_PROPERTY_HOST_VISIBLE` set,

this argument is mandatory. If `physical_address` is missing,

`CreateColorBuffer2()` returns `ZX_ERR_INVALID_ARGS`.

If `memory_property` doesn't have the `MEMORY_PROPERTY_HOST_VISIBLE`

bit, this argument is ignored.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_goldfish::wire::CreateColorBuffer2Params, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_goldfish::wire::CreateColorBuffer2Params>> && frame)

Records