class RealTime
Defined at line 170 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/natural_types.h
Specifies a real time using a system monotonic or reference clock time or an
option specifying 'as soon as possible'. This type is used when a transport
control operation is to occur using a time value that is meaningful when the
transport is stopped.
Public Methods
void RealTime (RealTime && other)
RealTime & operator= (RealTime && other)
void RealTime (const RealTime & other)
RealTime & operator= (const RealTime & other)
bool operator== (const RealTime & other)
bool operator!= (const RealTime & other)
bool IsUnknown ()
::fuchsia_media2::RealTime::Tag Which ()
RealTime WithAsap (::fuchsia_media2::Asap val)
const ::fidl::internal::UnionMemberView<1, Storage_> asap ()
::fidl::internal::UnionMemberView<1, Storage_> asap ()
RealTime & asap (::fuchsia_media2::Asap value)
As soon as possible.
RealTime WithSystemTime (int64_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> system_time ()
::fidl::internal::UnionMemberView<2, Storage_> system_time ()
RealTime & system_time (int64_t value)
Real time according to the system monotonic clock.
RealTime WithReferenceTime (int64_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> reference_time ()
::fidl::internal::UnionMemberView<3, Storage_> reference_time ()
RealTime & reference_time (int64_t value)
Real time according to the relevant reference clock. If no reference
clock (other than the system clock) is relevant, this is equivalent to
`system_time`.
void RealTime (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kAsap | 1 |
| kSystemTime | 2 |
| kReferenceTime | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 178 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits