class UseEventStream

Defined at line 12205 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 12216 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 12221 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 12229 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 12242 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 12247 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 12255 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 12268 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 12272 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 12281 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 12289 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 12303 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 12309 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 12317 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 12329 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 12333 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 12341 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 12349 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 12360 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 12364 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 12371 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 12379 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 12212 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 12238 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 12299 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)