template <>

class WireTableBuilder

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

Public Methods

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::wire::CreateChildArgs> & numbered_handles (First && first, Args &&... args_)

The numbered handles to pass to the component instance.

If the runner for the component does not support the numbered handles it is

expected to close the handles.

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

template <typename First = ::fidl::VectorView<::fuchsia_component_decl::wire::Offer>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_component_decl::wire::Offer>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component::wire::CreateChildArgs> & dynamic_offers (First && first, Args &&... args_)

Dynamic offers that will target the component instance.

Including `OfferDecl`s in this vector will cause additional capabilities

to be offered to the newly created child, beyond the `OfferDecl`s in the

parent's `ComponentDecl` that target the collection.

Any kind of offer (e.g., protocol, directory) can be used as a dynamic

offer. Any source that would be valid for a static offer is also valid

for a dynamic offer. Additionally, unlike static offers, dynamic offers

can use a "sibling" dynamic child component as a source by setting the

source to a `ChildRef` that sets the `collection` field.

Dynamic offers always target the newly created child component. As a

result, `OfferDecl`s in `dynamic_offers` must not set the `target`

field, as its value is implied.

If either the source (that is, the component named in the `source` field

of the `OfferDecl`) or the target of a dynamic offer is destroyed, the

offer itself is destroyed simultaneously.

In order to set this field to a non-empty value, the collection in which

the child component is being created must specify

`ComponentDecl.allowed_offers = STATIC_AND_DYNAMIC`.

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

Friends

template <>
class CreateChildArgs