template <>

class WireTableBuilder

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

Public Methods

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentStartInfo> & resolved_url (First && first, Args &&... args_)

The URL of the component. Called `resolved_url` instead of just `url`

for historical reasons.

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

template <typename First = ::fuchsia_data::wire::Dictionary, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_data::wire::Dictionary>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentStartInfo> & program (First && first, Args &&... args_)

The component's program declaration.

This information originates from `ComponentDecl.program`.

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

template <typename First = ::fidl::VectorView<::fuchsia_component_runner::wire::ComponentNamespaceEntry>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_component_runner::wire::ComponentNamespaceEntry>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentStartInfo> & ns (First && first, Args &&... args_)

The namespace to provide to the component instance.

A namespace specifies the set of directories that a component instance

receives at start-up. Through the namespace directories, a component

may access capabilities available to it. The contents of the namespace

are mainly determined by the component's `use` declarations but may

also contain additional capabilities automatically provided by the

framework.

By convention, a component's namespace typically contains some or all

of the following directories:

- "/svc": A directory containing services that the component requested

to use via its "import" declarations.

- "/pkg": A directory containing the component's package, including its

binaries, libraries, and other assets.

The mount points specified in each entry must be unique and

non-overlapping. For example, [{"/foo", ..}, {"/foo/bar", ..}] is

invalid.

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

template <typename First = ::fidl::VectorView<::fuchsia_process::wire::HandleInfo>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_process::wire::HandleInfo>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentStartInfo> & numbered_handles (First && first, Args &&... args_)

The numbered handles that were passed to the component.

If the component does not support numbered handles, the runner is expected

to close the handles.

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

template <typename First = ::fuchsia_mem::wire::Data, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_mem::wire::Data>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentStartInfo> & encoded_config (First && first, Args &&... args_)

Binary representation of the component's configuration.

# Layout

The first 2 bytes of the data should be interpreted as an unsigned 16-bit

little-endian integer which denotes the number of bytes following it that

contain the configuration checksum. After the checksum, all the remaining

bytes are a persistent FIDL message of a top-level struct. The struct's

fields match the configuration fields of the component's compiled manifest

in the same order.

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

Friends

template <>
class ComponentStartInfo