class ExposeService

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

Declares a service exposed to a component's containing realm, such as a

service exposed by the component or one of its children at runtime.

To learn more about services, see:

https://fuchsia.dev/fuchsia-src/glossary#service

Public Methods

void ExposeService ()

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

void ExposeService (const ExposeService & other)

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

void ExposeService (ExposeService && other)

Defined at line 5097 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::ExposeService> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

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

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

::fuchsia_component_decl::wire::Ref & source ()

(Required) The provider of the capability relative to the component

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

bool has_source ()
::fidl::StringView & source_name ()

(Required) Name identifying the service, by which it was presented to

this component.

bool has_source_name ()
::fuchsia_component_decl::wire::Ref & target ()

(Required) The destination to which the service is exposed: either the

component's realm or the framework.

bool has_target ()
::fidl::StringView & target_name ()

(Required) The name by which the capability is being exposed.

bool has_target_name ()
::fuchsia_component_decl::wire::Availability & availability ()

(Optional, defaults to `REQUIRED`) The availability of this capability.

See [`Availability`].

bool has_availability ()
::fidl::StringView & source_dictionary ()

(Optional) Path in a dictionary provided by `source` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside this

dictionary.

bool has_source_dictionary ()
ExposeService & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeService & set_source (std::nullptr_t )
ExposeService & clear_source ()
ExposeService & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeService & set_source_name (std::nullptr_t )
ExposeService & clear_source_name ()
ExposeService & set_target (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeService & set_target (std::nullptr_t )
ExposeService & clear_target ()
ExposeService & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeService & set_target_name (std::nullptr_t )
ExposeService & clear_target_name ()
ExposeService & set_availability (::fuchsia_component_decl::wire::Availability elem)
ExposeService & clear_availability ()
ExposeService & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeService & set_source_dictionary (std::nullptr_t )
ExposeService & clear_source_dictionary ()
void ExposeService (::fidl::AnyArena & allocator)
void ExposeService (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ExposeService>> && 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::ExposeService>> && frame_ptr)
ExposeService & operator= (const ExposeService & other)

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

ExposeService & operator= (ExposeService && other)

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

void ~ExposeService ()

Defined at line 5100 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