class CreateChildArgs

Defined at line 3289 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/natural_types.h

Public Methods

void CreateChildArgs (Storage_ storage)
void CreateChildArgs ()

Defined at line 3294 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/natural_types.h

void CreateChildArgs (CreateChildArgs && )

Defined at line 3295 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/natural_types.h

bool IsEmpty ()
const std::optional< ::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.

::std::optional< ::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.

CreateChildArgs & numbered_handles (std::optional< ::std::vector< ::fuchsia_process::HandleInfo>> value)

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.

const std::optional< ::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`.

::std::optional< ::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`.

CreateChildArgs & dynamic_offers (std::optional< ::std::vector< ::fuchsia_component_decl::Offer>> value)

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

const std::optional< ::fidl::ServerEnd< ::fuchsia_component::Controller>> & controller ()

The controller for this component, which may be used to influence the

component's lifecycle.

::std::optional< ::fidl::ServerEnd< ::fuchsia_component::Controller>> & controller ()

The controller for this component, which may be used to influence the

component's lifecycle.

CreateChildArgs & controller (std::optional< ::fidl::ServerEnd< ::fuchsia_component::Controller>> value)

The controller for this component, which may be used to influence the

component's lifecycle.

const std::optional< ::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.

::std::optional< ::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.

CreateChildArgs & dictionary (std::optional< ::fuchsia_component_sandbox::DictionaryRef> value)

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.

const std::optional< ::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.

::std::optional< ::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.

CreateChildArgs & additional_inputs (std::optional< ::zx::eventpair> value)

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.

void CreateChildArgs (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
CreateChildArgs & operator= (CreateChildArgs && )

Defined at line 3296 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/natural_types.h

Friends

class MemberVisitor
class NaturalTableCodingTraits