template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4342 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
Public Methods
::fuchsia_media::wire::StreamBufferPartialSettings Build ()
Build and return the table. The builder should not be used after this.
bool has_buffer_lifetime_ordinal ()
void clear_buffer_lifetime_ordinal ()
Clears the buffer_lifetime_ordinal field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & buffer_lifetime_ordinal ()
The containing message starts a new buffer_lifetime_ordinal.
There is a separate buffer_lifetime_ordinal for input vs. output.
Re-use of the same value is not allowed. Values must be odd. Values
must only increase (increasing by more than 2 is permitted).
A buffer_lifetime_ordinal lifetime starts at SetInputBufferSettings() or
SetOutputBufferSettings(), and ends at the earlier of
CloseCurrentStream() with release_input_buffers/release_output_buffers
set or SetOutputBufferSettings() with new buffer_lifetime_ordinal in the
case of mid-stream output config change.
BuilderImpl & buffer_lifetime_ordinal (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The containing message starts a new buffer_lifetime_ordinal.
There is a separate buffer_lifetime_ordinal for input vs. output.
Re-use of the same value is not allowed. Values must be odd. Values
must only increase (increasing by more than 2 is permitted).
A buffer_lifetime_ordinal lifetime starts at SetInputBufferSettings() or
SetOutputBufferSettings(), and ends at the earlier of
CloseCurrentStream() with release_input_buffers/release_output_buffers
set or SetOutputBufferSettings() with new buffer_lifetime_ordinal in the
case of mid-stream output config change.
bool has_buffer_constraints_version_ordinal ()
void clear_buffer_constraints_version_ordinal ()
Clears the buffer_constraints_version_ordinal field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & buffer_constraints_version_ordinal ()
This value indicates which version of constraints the client is/was aware
of so far.
For input, this must always be 0 because constraints don't change for
input (settings can change, but there's no settings vs current
constraints synchronization issue on input).
For output, this allows the server to know when the client is
sufficiently caught up before the server will generate any more output.
When there is no active stream, a client is permitted to re-configure
buffers again using the same buffer_constraints_version_ordinal.
BuilderImpl & buffer_constraints_version_ordinal (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
This value indicates which version of constraints the client is/was aware
of so far.
For input, this must always be 0 because constraints don't change for
input (settings can change, but there's no settings vs current
constraints synchronization issue on input).
For output, this allows the server to know when the client is
sufficiently caught up before the server will generate any more output.
When there is no active stream, a client is permitted to re-configure
buffers again using the same buffer_constraints_version_ordinal.
bool has_single_buffer_mode ()
void clear_single_buffer_mode ()
Clears the single_buffer_mode field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & single_buffer_mode ()
Getter for single_buffer_mode.
BuilderImpl & single_buffer_mode (bool elem)
Setter for single_buffer_mode.
bool has_packet_count_for_server ()
void clear_packet_count_for_server ()
Clears the packet_count_for_server field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_server ()
Getter for packet_count_for_server.
BuilderImpl & packet_count_for_server (uint32_t elem)
Setter for packet_count_for_server.
bool has_packet_count_for_client ()
void clear_packet_count_for_client ()
Clears the packet_count_for_client field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_client ()
Getter for packet_count_for_client.
BuilderImpl & packet_count_for_client (uint32_t elem)
Setter for packet_count_for_client.
bool has_sysmem_token ()
void clear_sysmem_token ()
Clears the sysmem_token field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::ClientEnd< ::fuchsia_sysmem::BufferCollectionToken> & sysmem_token ()
Getter for sysmem_token.
BuilderImpl & sysmem_token (::fidl::ClientEnd< ::fuchsia_sysmem::BufferCollectionToken> elem)
Setter for sysmem_token.
bool has_sysmem2_token ()
void clear_sysmem2_token ()
Clears the sysmem2_token field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::ClientEnd< ::fuchsia_sysmem2::BufferCollectionToken> & sysmem2_token ()
The client end of a BufferCollectionToken channel, which the
StreamProcessor will use to deliver constraints to sysmem and learn of
buffers allocated by sysmem.
The client guarantees that the token is already known to sysmem (via
BufferCollectionToken.Sync(), BufferCollection.Sync(), or
BufferCollectionEvents.OnDuplicatedTokensKnownByServer()).
BuilderImpl & sysmem2_token (::fidl::ClientEnd< ::fuchsia_sysmem2::BufferCollectionToken> elem)
The client end of a BufferCollectionToken channel, which the
StreamProcessor will use to deliver constraints to sysmem and learn of
buffers allocated by sysmem.
The client guarantees that the token is already known to sysmem (via
BufferCollectionToken.Sync(), BufferCollection.Sync(), or
BufferCollectionEvents.OnDuplicatedTokensKnownByServer()).
Protected Methods
void WireTableBaseBuilder< ::fuchsia_media::wire::StreamBufferPartialSettings, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media::wire::StreamBufferPartialSettings>> && frame)