template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 596 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h

Public Methods

::fuchsia_hardware_platform_bus::wire::Irq Build ()

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

bool has_irq ()
void clear_irq ()

Clears the irq field.

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

O(number_of_fields) complexity.

uint32_t & irq ()

Getter for irq.

BuilderImpl & irq (uint32_t elem)

Setter for irq.

bool has_mode ()
void clear_mode ()

Clears the mode field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_platform_bus::wire::ZirconInterruptMode & mode ()

Bit flag for setting the interrupt mode.

BuilderImpl & mode (::fuchsia_hardware_platform_bus::wire::ZirconInterruptMode elem)

Bit flag for setting the interrupt mode.

bool has_properties ()
void clear_properties ()

Clears the properties field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2> & properties ()

Properties for this interrupt's fragment.

BuilderImpl & properties (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2>>> elem)

Properties for this interrupt's fragment.

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

Name that can be used to retrieve the irq using

[`fuchsia.hardware.platform.device/GetInterruptByName`].

It is valid for this to be empty, however the resource will only be able

to be retrieved using [`fuchsia.hardware.platform.device/GetInterruptById`].

BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

Name that can be used to retrieve the irq using

[`fuchsia.hardware.platform.device/GetInterruptByName`].

It is valid for this to be empty, however the resource will only be able

to be retrieved using [`fuchsia.hardware.platform.device/GetInterruptById`].

bool has_wake_vector ()
void clear_wake_vector ()

Clears the wake_vector field.

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

O(number_of_fields) complexity.

bool & wake_vector ()

If set to true, this interrupt will wake the device out of suspend.

BuilderImpl & wake_vector (bool elem)

If set to true, this interrupt will wake the device out of suspend.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_platform_bus::wire::Irq, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_bus::wire::Irq>> && frame)

Records