template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1508 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h

Public Methods

::fuchsia_tracing_controller::wire::StartOptions Build ()

Build and return the table. The builder should not be used after this.

bool has_buffer_disposition ()
void clear_buffer_disposition ()

Clears the buffer_disposition field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_tracing::wire::BufferDisposition & buffer_disposition ()

Whether and how to clear the buffer when starting data collection.

This allows, for example, multiple Start/Stop trace runs to be

collected in the same buffer.

If the preceding `Stop()` request had `save_after_stopped=true`

then this value is overridden to CLEAR_ENTIRE_BUFFER to avoid

duplicate data being saved.

BuilderImpl & buffer_disposition (::fuchsia_tracing::wire::BufferDisposition elem)

Whether and how to clear the buffer when starting data collection.

This allows, for example, multiple Start/Stop trace runs to be

collected in the same buffer.

If the preceding `Stop()` request had `save_after_stopped=true`

then this value is overridden to CLEAR_ENTIRE_BUFFER to avoid

duplicate data being saved.

bool has_additional_categories ()
void clear_additional_categories ()

Clears the additional_categories field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::StringView> & additional_categories ()

The trace categories to add to the initial set provided in

`TraceConfig`. If the combined number of categories goes over the

limit then the extra categories past the limit are discarded.

BuilderImpl & additional_categories (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>>> elem)

The trace categories to add to the initial set provided in

`TraceConfig`. If the combined number of categories goes over the

limit then the extra categories past the limit are discarded.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_tracing_controller::wire::StartOptions, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tracing_controller::wire::StartOptions>> && frame)

Records