class UseEventStream
Defined at line 12123 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares an EventStream used by a component.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_source_name ()
Defined at line 12134 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_name ()
(Required) The names of the event streams.
Defined at line 12139 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_name ()
Defined at line 12147 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source ()
Defined at line 12160 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Ref * mutable_source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
Defined at line 12165 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source ()
Defined at line 12173 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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.
Defined at line 12186 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_scope ()
Defined at line 12190 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::vector< ::fuchsia::component::decl::Ref> * mutable_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.
Defined at line 12199 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_scope ()
Defined at line 12207 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_target_path ()
Defined at line 12221 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_target_path ()
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
Defined at line 12227 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_target_path ()
Defined at line 12235 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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.
Defined at line 12247 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_availability ()
Defined at line 12251 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Availability * mutable_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.
Defined at line 12259 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_availability ()
Defined at line 12267 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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.
Defined at line 12278 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_filter ()
Defined at line 12282 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::data::Dictionary * mutable_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.
Defined at line 12289 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_filter ()
Defined at line 12297 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
UseEventStream & set_source_name (::std::string _value)
UseEventStream & set_source (::fuchsia::component::decl::Ref _value)
UseEventStream & set_scope (::std::vector< ::fuchsia::component::decl::Ref> _value)
UseEventStream & set_target_path (::std::string _value)
UseEventStream & set_availability (::fuchsia::component::decl::Availability _value)
UseEventStream & set_filter (::fuchsia::data::Dictionary _value)
void UseEventStream ()
void UseEventStream (UseEventStream && other)
const ::std::string & source_name ()
(Required) The names of the event streams.
Defined at line 12130 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::Ref & source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
Defined at line 12156 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::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 /.
Defined at line 12217 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void ~UseEventStream ()
UseEventStream & operator= (UseEventStream && other)
::std::unique_ptr<UseEventStream> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, UseEventStream * _value, size_t _offset)
zx_status_t Clone (UseEventStream * _result)