class CreateChildArgs
Defined at line 4523 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
CreateChildArgs & set_numbered_handles (::std::vector< ::fuchsia::process::HandleInfo> _value)
CreateChildArgs & set_dynamic_offers (::std::vector< ::fuchsia::component::decl::Offer> _value)
CreateChildArgs & set_controller (::fidl::InterfaceRequest< ::fuchsia::component::Controller> _value)
CreateChildArgs & set_dictionary (::fuchsia::component::sandbox::DictionaryRef _value)
CreateChildArgs & set_additional_inputs (::zx::eventpair _value)
void CreateChildArgs ()
void CreateChildArgs (CreateChildArgs && other)
void ~CreateChildArgs ()
CreateChildArgs & operator= (CreateChildArgs && other)
::std::unique_ptr<CreateChildArgs> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CreateChildArgs * _value, size_t _offset)
zx_status_t Clone (CreateChildArgs * _result)
const ::std::vector< ::fuchsia::process::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.
Defined at line 4533 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
bool has_numbered_handles ()
Defined at line 4537 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
::std::vector< ::fuchsia::process::HandleInfo> * mutable_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.
Defined at line 4545 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
void clear_numbered_handles ()
Defined at line 4553 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
const ::std::vector< ::fuchsia::component::decl::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`.
Defined at line 4584 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
bool has_dynamic_offers ()
Defined at line 4588 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
::std::vector< ::fuchsia::component::decl::Offer> * mutable_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`.
Defined at line 4615 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
void clear_dynamic_offers ()
Defined at line 4623 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
const ::fidl::InterfaceRequest< ::fuchsia::component::Controller> & controller ()
The controller for this component, which may be used to influence the
component's lifecycle.
Defined at line 4633 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
bool has_controller ()
Defined at line 4637 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
::fidl::InterfaceRequest< ::fuchsia::component::Controller> * mutable_controller ()
The controller for this component, which may be used to influence the
component's lifecycle.
Defined at line 4643 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
void clear_controller ()
Defined at line 4651 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
const ::fuchsia::component::sandbox::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.
Defined at line 4663 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
bool has_dictionary ()
Defined at line 4667 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
::fuchsia::component::sandbox::DictionaryRef * mutable_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.
Defined at line 4675 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
void clear_dictionary ()
Defined at line 4683 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
const ::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.
Defined at line 4694 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
bool has_additional_inputs ()
Defined at line 4698 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
::zx::eventpair * mutable_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.
Defined at line 4705 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h
void clear_additional_inputs ()
Defined at line 4713 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h