class WaitFence
Defined at line 4660 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
A fence that will be signaled when the associated resource is ready for Scenic to use.
For context-specific usage info, refer to the method the fence appears in.
Public Members
static const fidl_type_t * FidlType
Public Methods
void WaitFence ()
bool has_invalid_tag ()
Defined at line 4687 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool is_basic ()
Defined at line 4691 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
::zx::handle & basic ()
A basic handle (e.g., EVENT or EVENTPAIR).
Defined at line 4694 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
const ::zx::handle & basic ()
A basic handle (e.g., EVENT or EVENTPAIR).
Defined at line 4700 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool is_timestamp ()
Defined at line 4706 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void ~WaitFence ()
void WaitFence (WaitFence && )
WaitFence & operator= (WaitFence && )
WaitFence WithBasic (::zx::handle && )
WaitFence WithTimestamp (::zx::counter && )
::std::unique_ptr<WaitFence> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,WaitFence *value,size_toffset)
zx_status_t Clone (WaitFence * result)
WaitFence & set_basic (::zx::handle value)
::zx::counter & timestamp ()
At the time the fence is signalled, the timestamp of the
corresponding event will have been written into the counter.
Defined at line 4710 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
const ::zx::counter & timestamp ()
At the time the fence is signalled, the timestamp of the
corresponding event will have been written into the counter.
Defined at line 4717 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
::fuchsia::ui::composition::WaitFence::Tag Which ()
Defined at line 4723 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 4731 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
WaitFence & set_timestamp (::zx::counter value)
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kBasic | 1 |
0x1 |
| kTimestamp | 2 |
0x2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 4673 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
Friends
class Equality