class RealTime

Defined at line 49 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_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 ()
void RealTime (const RealTime & )

Defined at line 53 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h

RealTime & operator= (const RealTime & )

Defined at line 54 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h

void RealTime (RealTime && )

Defined at line 55 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h

RealTime & operator= (RealTime && )

Defined at line 56 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h

bool IsUnknown ()

Defined at line 64 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 ()
RealTime 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 ()
RealTime WithSystemTime (::fidl::ObjectView<int64_t> val)

Real time according to the system monotonic clock.

template <typename... Args>
RealTime WithSystemTime (::fidl::AnyArena & allocator, Args &&... args)

Real time according to the system monotonic clock.

Defined at line 88 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 ()
RealTime 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`.

template <typename... Args>
RealTime 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 110 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h

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`.

::fuchsia_media2::wire::RealTime::Tag Which ()

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()

Defined at line 58 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h