class SampleDatum

Defined at line 1984 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::SampleDatum> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_diagnostics::wire::SampleDatum> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::SampleDatum>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::SampleDatum>> && frame_ptr)
void SampleDatum ()

Defined at line 1986 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

void SampleDatum (SampleDatum && other)

Defined at line 1989 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

SampleDatum & operator= (SampleDatum && other)

Defined at line 1990 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

::fuchsia_diagnostics::wire::SelectorArgument & selector ()

The selector to check.

bool has_selector ()
::fuchsia_diagnostics::wire::SampleStrategy & strategy ()

The strategy by which the server decides to notify the client.

bool has_strategy ()
bool has_interval_secs ()
SampleDatum & operator= (const SampleDatum & other)

Defined at line 1988 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

SampleDatum & set_selector (::fidl::ObjectView< ::fuchsia_diagnostics::wire::SelectorArgument> elem)
SampleDatum & set_selector (std::nullptr_t )
SampleDatum & clear_selector ()
SampleDatum & set_strategy (::fuchsia_diagnostics::wire::SampleStrategy elem)
SampleDatum & clear_strategy ()
SampleDatum & set_interval_secs (::fidl::ObjectView<int64_t> elem)
SampleDatum & set_interval_secs (std::nullptr_t )
SampleDatum & clear_interval_secs ()
void SampleDatum (::fidl::AnyArena & allocator)
void SampleDatum (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::SampleDatum>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void SampleDatum (const SampleDatum & other)

Defined at line 1987 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

int64_t & interval_secs ()

The interval at which this datum should be sampled.

Each `SampleDatum` has its own specified interval. It is preferred to send

as many selectors on one `Sample` connection as possible, to allow

Archivist to batch requests. However, Archivist will query at a period that

is the greatest common divisor of all intervals. So, balance the desire for

a small number of `Sample` connections with keeping the intervals compatible.

Example: two data with intervals of 3 and 4 respectively would check for work

every second. Archivist won't actually sample if neither batch is ready, but

it will check.

Example: two data with intervals of 10 and 5 respectively would only check for

work every 5 seconds.

(In practice, the calculated sample period must be valid. See

MINIMUM_SAMPLE_PERIOD_SECONDS above.)

void ~SampleDatum ()

Defined at line 1992 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder