class Environment
Defined at line 5096 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Declares an environment which configures a realm.
Public Methods
void Environment ()
Defined at line 5101 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Environment (Environment && )
Defined at line 5102 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Environment (Storage_ storage)
void Environment (const Environment & other)
Environment & operator= (const Environment & other)
bool operator== (const Environment & other)
bool operator!= (const Environment & other)
bool IsEmpty ()
const std::optional< ::std::string> & name ()
(Required) The name of this environment.
::std::optional< ::std::string> & name ()
(Required) The name of this environment.
Environment & name (std::optional< ::std::string> value)
(Required) The name of this environment.
const std::optional< ::fuchsia_component_decl::EnvironmentExtends> & extends ()
(Required) Specifies how the initial state of this environment is
constructed.
::std::optional< ::fuchsia_component_decl::EnvironmentExtends> & extends ()
(Required) Specifies how the initial state of this environment is
constructed.
Environment & extends (std::optional< ::fuchsia_component_decl::EnvironmentExtends> value)
(Required) Specifies how the initial state of this environment is
constructed.
Environment & operator= (Environment && )
Defined at line 5103 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
const std::optional< ::std::vector< ::fuchsia_component_decl::RunnerRegistration>> & runners ()
(Optional) List of runners available in this environment.
This list determines the total set of runners that are available for any
component in the environment to use.
::std::optional< ::std::vector< ::fuchsia_component_decl::RunnerRegistration>> & runners ()
(Optional) List of runners available in this environment.
This list determines the total set of runners that are available for any
component in the environment to use.
Environment & runners (std::optional< ::std::vector< ::fuchsia_component_decl::RunnerRegistration>> value)
(Optional) List of runners available in this environment.
This list determines the total set of runners that are available for any
component in the environment to use.
const std::optional< ::std::vector< ::fuchsia_component_decl::ResolverRegistration>> & resolvers ()
(Optional) List of component resolvers and the URL schemes they are
registered to resolve. These registrations determine how components are
resolved in the realm. If the component URL scheme does not match any of
these resolvers, URL resolution is delegated to the parent environment,
if this environment `extends` from `REALM`.
::std::optional< ::std::vector< ::fuchsia_component_decl::ResolverRegistration>> & resolvers ()
(Optional) List of component resolvers and the URL schemes they are
registered to resolve. These registrations determine how components are
resolved in the realm. If the component URL scheme does not match any of
these resolvers, URL resolution is delegated to the parent environment,
if this environment `extends` from `REALM`.
Environment & resolvers (std::optional< ::std::vector< ::fuchsia_component_decl::ResolverRegistration>> value)
(Optional) List of component resolvers and the URL schemes they are
registered to resolve. These registrations determine how components are
resolved in the realm. If the component URL scheme does not match any of
these resolvers, URL resolution is delegated to the parent environment,
if this environment `extends` from `REALM`.
const std::optional< ::std::vector< ::fuchsia_component_decl::DebugRegistration>> & debug_capabilities ()
(Optional) Expose capabilities to debug section when component manager
allows it.
These capabilities are accessible to any component in the environment
with a `use` declaration with `source == debug`. Only capabilities
intended to support development should be declared here, and they are
only allowed if explicitly included in the component manager allowlist.
::std::optional< ::std::vector< ::fuchsia_component_decl::DebugRegistration>> & debug_capabilities ()
(Optional) Expose capabilities to debug section when component manager
allows it.
These capabilities are accessible to any component in the environment
with a `use` declaration with `source == debug`. Only capabilities
intended to support development should be declared here, and they are
only allowed if explicitly included in the component manager allowlist.
Environment & debug_capabilities (std::optional< ::std::vector< ::fuchsia_component_decl::DebugRegistration>> value)
(Optional) Expose capabilities to debug section when component manager
allows it.
These capabilities are accessible to any component in the environment
with a `use` declaration with `source == debug`. Only capabilities
intended to support development should be declared here, and they are
only allowed if explicitly included in the component manager allowlist.
const std::optional<uint32_t> & stop_timeout_ms ()
(Optional) The duration in milliseconds that the component will have to
stop before it is killed. Required if this environment `extends` from
`NONE`.
::std::optional<uint32_t> & stop_timeout_ms ()
(Optional) The duration in milliseconds that the component will have to
stop before it is killed. Required if this environment `extends` from
`NONE`.
Environment & stop_timeout_ms (std::optional<uint32_t> value)
(Optional) The duration in milliseconds that the component will have to
stop before it is killed. Required if this environment `extends` from
`NONE`.
void Environment (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits