template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1731 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

Public Methods

::fuchsia_component::wire::StoppedPayload Build ()

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

bool has_status ()
void clear_status ()

Clears the status field.

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

O(number_of_fields) complexity.

int32_t & status ()

The epitaph set on the fuchsia.component.runner/ComponentController

protocol channel. This is the exit status of the component. The

possible status values and their meaning are described in the definition

of the ComponentController protocol.

BuilderImpl & status (int32_t elem)

The epitaph set on the fuchsia.component.runner/ComponentController

protocol channel. This is the exit status of the component. The

possible status values and their meaning are described in the definition

of the ComponentController protocol.

bool has_exit_code ()
void clear_exit_code ()

Clears the exit_code field.

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

O(number_of_fields) complexity.

int64_t & exit_code ()

The exit code of the component instance. Note that not all components

will stop with an exit code.

Many program runtimes have the concept of an exit code. Runners may map

that value to this field when applicable. For example, the ELF runner

will publish the Zircon process return code here.

BuilderImpl & exit_code (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The exit code of the component instance. Note that not all components

will stop with an exit code.

Many program runtimes have the concept of an exit code. Runners may map

that value to this field when applicable. For example, the ELF runner

will publish the Zircon process return code here.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_component::wire::StoppedPayload, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StoppedPayload>> && frame)

Records