class CreateChildArgs
Defined at line 2386 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Public Methods
void CreateChildArgs ()
Defined at line 2388 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void CreateChildArgs (const CreateChildArgs & other)
Defined at line 2389 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void CreateChildArgs (CreateChildArgs && other)
Defined at line 2391 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_component::wire::CreateChildArgs> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::CreateChildArgs> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::CreateChildArgs>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::VectorView< ::fuchsia_process::wire::HandleInfo> & numbered_handles ()
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.
bool has_numbered_handles ()
::fidl::VectorView< ::fuchsia_component_decl::wire::Offer> & dynamic_offers ()
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`.
bool has_dynamic_offers ()
::fidl::ServerEnd< ::fuchsia_component::Controller> & controller ()
The controller for this component, which may be used to influence the
component's lifecycle.
bool has_controller ()
::fuchsia_component_sandbox::wire::DictionaryRef & dictionary ()
A dictionary that contains extra capabilities for the component instance.
This field should be considered deprecated in favor of
`additional_inputs`. If both are set, an `INVALID_ARGUMENTS` error will
be returned.
bool has_dictionary ()
::zx::eventpair & additional_inputs ()
A handle to a dictionary created using
fuchsia.component.runtime.Capabilities that contains additional
capabilities that should be added to the inputs of the created child.
bool has_additional_inputs ()
CreateChildArgs & operator= (const CreateChildArgs & other)
Defined at line 2390 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
CreateChildArgs & operator= (CreateChildArgs && other)
Defined at line 2392 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
CreateChildArgs & set_numbered_handles (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_process::wire::HandleInfo>> elem)
CreateChildArgs & set_numbered_handles (std::nullptr_t )
CreateChildArgs & clear_numbered_handles ()
CreateChildArgs & set_dynamic_offers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Offer>> elem)
CreateChildArgs & set_dynamic_offers (std::nullptr_t )
CreateChildArgs & clear_dynamic_offers ()
CreateChildArgs & set_controller (::fidl::ServerEnd< ::fuchsia_component::Controller> elem)
CreateChildArgs & clear_controller ()
CreateChildArgs & set_dictionary (::fuchsia_component_sandbox::wire::DictionaryRef elem)
CreateChildArgs & clear_dictionary ()
CreateChildArgs & set_additional_inputs (::zx::eventpair elem)
CreateChildArgs & clear_additional_inputs ()
void CreateChildArgs (::fidl::AnyArena & allocator)
void CreateChildArgs (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::CreateChildArgs>> && 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::CreateChildArgs>> && frame_ptr)
void ~CreateChildArgs ()
Defined at line 2394 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder