class UseEventStream
Defined at line 15190 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares an EventStream used by a component.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::UseEventStream> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::UseEventStream> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseEventStream>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseEventStream>> && frame_ptr)
void UseEventStream ()
Defined at line 15192 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseEventStream (const UseEventStream & other)
Defined at line 15193 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseEventStream (UseEventStream && other)
Defined at line 15195 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseEventStream & operator= (UseEventStream && other)
Defined at line 15196 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fidl::StringView & source_name ()
(Required) The names of the event streams.
bool has_source_name ()
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
bool has_source ()
::fidl::VectorView< ::fuchsia_component_decl::wire::Ref> & scope ()
(Optional) When an event is used from framework, the scope is required
to specify the child (or array of children) which the event will be
about. When the event is used from parent, the scope can be used to
downscope the event to a certain child scope, otherwise the event will
carry the scope coming from the parent.
bool has_scope ()
::fidl::StringView & target_path ()
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
bool has_target_path ()
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
bool has_availability ()
::fuchsia_data::wire::Dictionary & filter ()
(Optional) Filter for the event stream. The structure of the filter
depends on the event stream type. Only supported for the
`CapabilityRequested` event type.
bool has_filter ()
UseEventStream & operator= (const UseEventStream & other)
Defined at line 15194 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseEventStream & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
UseEventStream & set_source_name (std::nullptr_t )
UseEventStream & clear_source_name ()
UseEventStream & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
UseEventStream & set_source (std::nullptr_t )
UseEventStream & clear_source ()
UseEventStream & set_scope (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Ref>> elem)
UseEventStream & set_scope (std::nullptr_t )
UseEventStream & clear_scope ()
UseEventStream & set_target_path (::fidl::ObjectView< ::fidl::StringView> elem)
UseEventStream & set_target_path (std::nullptr_t )
UseEventStream & clear_target_path ()
UseEventStream & set_availability (::fuchsia_component_decl::wire::Availability elem)
UseEventStream & clear_availability ()
UseEventStream & set_filter (::fidl::ObjectView< ::fuchsia_data::wire::Dictionary> elem)
UseEventStream & set_filter (std::nullptr_t )
UseEventStream & clear_filter ()
void UseEventStream (::fidl::AnyArena & allocator)
void UseEventStream (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseEventStream>> && 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 ~UseEventStream ()
Defined at line 15198 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