template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2791 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::TraceStatus Build ()

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

bool has_duration ()
void clear_duration ()

Clears the duration field.

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

O(number_of_fields) complexity.

int64_t & duration ()

The total duration of the command in fractional seconds. This will not

be set if the command is supposed to run indefinitely.

BuilderImpl & duration (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The total duration of the command in fractional seconds. This will not

be set if the command is supposed to run indefinitely.

bool has_remaining_runtime ()
void clear_remaining_runtime ()

Clears the remaining_runtime field.

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

O(number_of_fields) complexity.

int64_t & remaining_runtime ()

The amount of time remaining before the trace terminates. This will not

be set if the command is supposed to run indefinitely.

BuilderImpl & remaining_runtime (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The amount of time remaining before the trace terminates. This will not

be set if the command is supposed to run indefinitely.

bool has_config ()
void clear_config ()

Clears the config field.

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

O(number_of_fields) complexity.

::fuchsia_tracing_controller::wire::TraceConfig & config ()

The original config sent to the `StartRecording` command.

BuilderImpl & config (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_tracing_controller::wire::TraceConfig>> elem)

The original config sent to the `StartRecording` command.

bool has_triggers ()
void clear_triggers ()

Clears the triggers field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_tracing_controller::wire::Trigger> & triggers ()

A list of triggers active for this trace. See [Trigger] for more info.

BuilderImpl & triggers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_tracing_controller::wire::Trigger>>> elem)

A list of triggers active for this trace. See [Trigger] for more info.

bool has_task_id ()
void clear_task_id ()

Clears the task_id field.

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

O(number_of_fields) complexity.

uint64_t & task_id ()

unique id of this trace session.

BuilderImpl & task_id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

unique id of this trace session.

Protected Methods

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

Records