template <>
class WireTableBuilder
Defined at line 871 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Public Methods
template <typename First = int64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<int64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::SampleReady> & seconds_since_start (First && first, Args &&... args_)
`seconds_since_start` is `ticks * interval_secs` for the current
polling period.
This can be used to check whether a value in the batch corresponds
to a `SampleDatum`, assuming you have not registered the same selector
with different `SampleStrategy` types. The procedure is:
1) Resolve `batch_iter` into a set of Inspect hierarchies.
2) Filter the set of `SampleDatum`s committed to this server with
the predicate `seconds_since_start % datum.interval_secs == 0`.
3) Any selector from the filtered `SampleDatum`s that matches data
in the resolved Inspect hierarchies is valid.
If you DO have one selector registered twice with different strategies,
you must maintain a local cache and check the value yourself.
Defined at line 898 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Friends
template <>
class SampleReady