class Environment

Defined at line 9185 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Declares an environment which configures a realm.

Public Methods

void Environment ()

Defined at line 9187 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

void Environment (const Environment & other)

Defined at line 9188 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

void Environment (Environment && other)

Defined at line 9190 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::Environment> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Environment> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Environment>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

::fidl::StringView & name ()

(Required) The name of this environment.

bool has_name ()
::fuchsia_component_decl::wire::EnvironmentExtends & extends ()

(Required) Specifies how the initial state of this environment is

constructed.

bool has_extends ()
::fidl::VectorView< ::fuchsia_component_decl::wire::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.

bool has_runners ()
::fidl::VectorView< ::fuchsia_component_decl::wire::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`.

bool has_resolvers ()
::fidl::VectorView< ::fuchsia_component_decl::wire::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.

bool has_debug_capabilities ()
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`.

bool has_stop_timeout_ms ()
Environment & operator= (const Environment & other)

Defined at line 9189 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Environment & operator= (Environment && other)

Defined at line 9191 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Environment & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Environment & set_name (std::nullptr_t )
Environment & clear_name ()
Environment & set_extends (::fuchsia_component_decl::wire::EnvironmentExtends elem)
Environment & clear_extends ()
Environment & set_runners (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::RunnerRegistration>> elem)
Environment & set_runners (std::nullptr_t )
Environment & clear_runners ()
Environment & set_resolvers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::ResolverRegistration>> elem)
Environment & set_resolvers (std::nullptr_t )
Environment & clear_resolvers ()
Environment & set_debug_capabilities (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::DebugRegistration>> elem)
Environment & set_debug_capabilities (std::nullptr_t )
Environment & clear_debug_capabilities ()
Environment & set_stop_timeout_ms (uint32_t elem)
Environment & clear_stop_timeout_ms ()
void Environment (::fidl::AnyArena & allocator)
void Environment (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Environment>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Environment>> && frame_ptr)
void ~Environment ()

Defined at line 9193 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder