class StoppedPayload

Defined at line 2307 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

Payload for Stopped events.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const 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.

Defined at line 2317 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

bool has_status ()

Defined at line 2321 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

int32_t * mutable_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.

Defined at line 2329 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

void clear_status ()

Defined at line 2337 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

const 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.

Defined at line 2351 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

bool has_exit_code ()

Defined at line 2355 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

int64_t * mutable_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.

Defined at line 2365 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

void clear_exit_code ()

Defined at line 2373 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

StoppedPayload & set_status (int32_t _value)
StoppedPayload & set_exit_code (int64_t _value)
void StoppedPayload ()
void StoppedPayload (StoppedPayload && other)
void ~StoppedPayload ()
StoppedPayload & operator= (StoppedPayload && other)
::std::unique_ptr<StoppedPayload> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, StoppedPayload * _value, size_t _offset)
zx_status_t Clone (StoppedPayload * _result)