class Environment
Defined at line 7711 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares an environment which configures a realm.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::string & name ()
(Required) The name of this environment.
Defined at line 7718 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_name ()
Defined at line 7722 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_name ()
(Required) The name of this environment.
Defined at line 7727 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_name ()
Defined at line 7735 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::EnvironmentExtends & extends ()
(Required) Specifies how the initial state of this environment is
constructed.
Defined at line 7745 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_extends ()
Defined at line 7749 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::EnvironmentExtends * mutable_extends ()
(Required) Specifies how the initial state of this environment is
constructed.
Defined at line 7755 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_extends ()
Defined at line 7763 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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.
Defined at line 7775 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_runners ()
Defined at line 7779 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::vector< ::fuchsia::component::decl::RunnerRegistration> * mutable_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.
Defined at line 7787 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_runners ()
Defined at line 7795 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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`.
Defined at line 7808 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_resolvers ()
Defined at line 7812 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::vector< ::fuchsia::component::decl::ResolverRegistration> * mutable_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`.
Defined at line 7821 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_resolvers ()
Defined at line 7829 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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.
Defined at line 7844 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_debug_capabilities ()
Defined at line 7848 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::vector< ::fuchsia::component::decl::DebugRegistration> * mutable_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.
Defined at line 7859 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_debug_capabilities ()
Defined at line 7867 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_stop_timeout_ms ()
Defined at line 7882 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
uint32_t * mutable_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`.
Defined at line 7889 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_stop_timeout_ms ()
Defined at line 7897 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Environment & set_name (::std::string _value)
Environment & set_extends (::fuchsia::component::decl::EnvironmentExtends _value)
Environment & set_runners (::std::vector< ::fuchsia::component::decl::RunnerRegistration> _value)
Environment & set_resolvers (::std::vector< ::fuchsia::component::decl::ResolverRegistration> _value)
Environment & set_debug_capabilities (::std::vector< ::fuchsia::component::decl::DebugRegistration> _value)
Environment & set_stop_timeout_ms (uint32_t _value)
void Environment ()
void Environment (Environment && other)
const 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`.
Defined at line 7878 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void ~Environment ()
Environment & operator= (Environment && other)
::std::unique_ptr<Environment> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Environment * _value, size_t _offset)
zx_status_t Clone (Environment * _result)