class OfferEventStream
Defined at line 8483 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares an event stream offered 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::OfferEventStream> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::OfferEventStream> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::OfferEventStream>> 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::OfferEventStream>> && frame_ptr)
void OfferEventStream ()
Defined at line 8485 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void OfferEventStream (const OfferEventStream & other)
Defined at line 8486 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void OfferEventStream (OfferEventStream && other)
Defined at line 8488 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
OfferEventStream & operator= (OfferEventStream && other)
Defined at line 8489 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the capability relative to the component
itself. Must be `parent`, `framework`, `child`, or `void`. If set to
`void`, then the target must offer or use the capability with `OPTIONAL`
or `TRANSITIONAL` availability.
bool has_source ()
::fidl::StringView & source_name ()
(Required) Name of the event being offered.
bool has_source_name ()
::fidl::VectorView< ::fuchsia_component_decl::wire::Ref> & scope ()
(Optional) When an event is offered from framework, the scope is
required and allows one to define the child (or array of children) which
the event is about. When the event is offered 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 ()
::fuchsia_component_decl::wire::Ref & target ()
(Required) The destination to which the event stream is offered.
bool has_target ()
::fidl::StringView & target_name ()
(Required) Name under which the event stream is being offered.
bool has_target_name ()
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the target may use or offer the capability with
either `required` or `optional` availability. If set to `optional`, the
target must use or offer the capability with `optional` availability.
The `same_as_target` value causes this offer's availability to match the
availability set in the target.
bool has_availability ()
OfferEventStream & operator= (const OfferEventStream & other)
Defined at line 8487 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
OfferEventStream & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
OfferEventStream & set_source (std::nullptr_t )
OfferEventStream & clear_source ()
OfferEventStream & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
OfferEventStream & set_source_name (std::nullptr_t )
OfferEventStream & clear_source_name ()
OfferEventStream & set_scope (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Ref>> elem)
OfferEventStream & set_scope (std::nullptr_t )
OfferEventStream & clear_scope ()
OfferEventStream & set_target (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
OfferEventStream & set_target (std::nullptr_t )
OfferEventStream & clear_target ()
OfferEventStream & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
OfferEventStream & set_target_name (std::nullptr_t )
OfferEventStream & clear_target_name ()
OfferEventStream & set_availability (::fuchsia_component_decl::wire::Availability elem)
OfferEventStream & clear_availability ()
void OfferEventStream (::fidl::AnyArena & allocator)
void OfferEventStream (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::OfferEventStream>> && 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 ~OfferEventStream ()
Defined at line 8491 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