class Environment

Defined at line 7793 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 7800 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 7804 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 7809 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 7817 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 7827 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 7831 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 7837 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 7845 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 7857 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 7861 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 7869 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 7877 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 7890 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 7894 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 7903 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 7911 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 7926 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 7930 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 7941 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 7949 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 7964 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 7971 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 7979 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 7960 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)