class RealOrStreamTime
Defined at line 225 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
Specifies a real time or a stream time. Real time is expressed using a
system monotonic or reference clock time. Stream time is expressed either as
a duration or as a packet timestamp in the relevant units. This type is used
when a transport control operation is to occur using a time value that is
meaningful when the transport is progressing.
Public Methods
void RealOrStreamTime (const RealOrStreamTime & )
Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
void RealOrStreamTime (RealOrStreamTime && )
Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
bool IsUnknown ()
Defined at line 242 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
void RealOrStreamTime ()
template <typename... Args>
RealOrStreamTime WithReferenceTime (::fidl::AnyArena & allocator, Args &&... args)
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`.
Defined at line 288 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
template <typename... Args>
RealOrStreamTime WithStreamTime (::fidl::AnyArena & allocator, Args &&... args)
Stream time expressed as a duration (nanoseconds).
Defined at line 310 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
template <typename... Args>
RealOrStreamTime WithPacketTimestamp (::fidl::AnyArena & allocator, Args &&... args)
Stream time expressed in the same timestamps that are used on the
relevant packets.
Defined at line 330 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
bool has_invalid_tag ()
bool is_asap ()
RealOrStreamTime WithAsap (::fuchsia_media2::wire::Asap val)
As soon as possible.
::fuchsia_media2::wire::Asap & asap ()
As soon as possible.
const ::fuchsia_media2::wire::Asap & asap ()
As soon as possible.
bool is_system_time ()
RealOrStreamTime WithSystemTime (::fidl::ObjectView<int64_t> val)
Real time according to the system monotonic clock.
template <typename... Args>
RealOrStreamTime WithSystemTime (::fidl::AnyArena & allocator, Args &&... args)
Real time according to the system monotonic clock.
Defined at line 266 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
int64_t & system_time ()
Real time according to the system monotonic clock.
const int64_t & system_time ()
Real time according to the system monotonic clock.
bool is_reference_time ()
RealOrStreamTime WithReferenceTime (::fidl::ObjectView<int64_t> val)
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`.
int64_t & reference_time ()
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`.
const int64_t & reference_time ()
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`.
bool is_stream_time ()
RealOrStreamTime WithStreamTime (::fidl::ObjectView<int64_t> val)
Stream time expressed as a duration (nanoseconds).
RealOrStreamTime & operator= (RealOrStreamTime && )
Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
int64_t & stream_time ()
Stream time expressed as a duration (nanoseconds).
const int64_t & stream_time ()
Stream time expressed as a duration (nanoseconds).
bool is_packet_timestamp ()
RealOrStreamTime WithPacketTimestamp (::fidl::ObjectView<int64_t> val)
Stream time expressed in the same timestamps that are used on the
relevant packets.
RealOrStreamTime & operator= (const RealOrStreamTime & )
Defined at line 230 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
int64_t & packet_timestamp ()
Stream time expressed in the same timestamps that are used on the
relevant packets.
const int64_t & packet_timestamp ()
Stream time expressed in the same timestamps that are used on the
relevant packets.
::fuchsia_media2::wire::RealOrStreamTime::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kAsap | 1 |
| kSystemTime | 2 |
| kReferenceTime | 3 |
| kStreamTime | 4 |
| kPacketTimestamp | 5 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 234 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h