class StoppedPayload

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

Payload for Stopped events.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component::wire::StoppedPayload> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::StoppedPayload> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StoppedPayload>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void StoppedPayload ()

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

void StoppedPayload (const StoppedPayload & other)

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

StoppedPayload & operator= (const StoppedPayload & other)

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

void StoppedPayload (StoppedPayload && other)

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

StoppedPayload & operator= (StoppedPayload && other)

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

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.

bool has_status ()
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.

bool has_exit_code ()
StoppedPayload & set_status (int32_t elem)
StoppedPayload & clear_status ()
StoppedPayload & set_exit_code (::fidl::ObjectView<int64_t> elem)
StoppedPayload & set_exit_code (std::nullptr_t )
StoppedPayload & clear_exit_code ()
void StoppedPayload (::fidl::AnyArena & allocator)
void StoppedPayload (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StoppedPayload>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StoppedPayload>> && frame_ptr)
void ~StoppedPayload ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder