class UseEventStream
Defined at line 7885 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Declares an EventStream used by a component.
Public Methods
void UseEventStream (Storage_ storage)
void UseEventStream ()
Defined at line 7890 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void UseEventStream (UseEventStream && )
Defined at line 7891 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void UseEventStream (const UseEventStream & other)
UseEventStream & operator= (UseEventStream && )
Defined at line 7892 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
UseEventStream & operator= (const UseEventStream & other)
bool operator== (const UseEventStream & other)
bool operator!= (const UseEventStream & other)
bool IsEmpty ()
const std::optional< ::std::string> & source_name ()
(Required) The names of the event streams.
::std::optional< ::std::string> & source_name ()
(Required) The names of the event streams.
UseEventStream & source_name (std::optional< ::std::string> value)
(Required) The names of the event streams.
const std::optional< ::fuchsia_component_decl::Ref> & source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
::std::optional< ::fuchsia_component_decl::Ref> & source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
UseEventStream & source (std::optional< ::fuchsia_component_decl::Ref> value)
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
const std::optional< ::std::vector< ::fuchsia_component_decl::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.
::std::optional< ::std::vector< ::fuchsia_component_decl::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.
UseEventStream & scope (std::optional< ::std::vector< ::fuchsia_component_decl::Ref>> value)
(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.
const std::optional< ::std::string> & target_path ()
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
::std::optional< ::std::string> & target_path ()
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
UseEventStream & target_path (std::optional< ::std::string> value)
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
const std::optional< ::fuchsia_component_decl::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.
::std::optional< ::fuchsia_component_decl::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.
UseEventStream & availability (std::optional< ::fuchsia_component_decl::Availability> value)
(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.
const std::optional< ::fuchsia_data::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.
::std::optional< ::fuchsia_data::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.
UseEventStream & filter (std::optional< ::fuchsia_data::Dictionary> value)
(Optional) Filter for the event stream. The structure of the filter
depends on the event stream type. Only supported for the
`CapabilityRequested` event type.
void UseEventStream (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits