class VmoTransfer

Defined at line 4276 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

This describes a VMO section containing audio data.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

VmoTransfer & set_vmo_id (uint64_t _value)
VmoTransfer & set_vmo_offset (uint64_t _value)
VmoTransfer & set_payload_size (uint64_t _value)
void VmoTransfer ()
void VmoTransfer (VmoTransfer && other)
void ~VmoTransfer ()
VmoTransfer & operator= (VmoTransfer && other)
::std::unique_ptr<VmoTransfer> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, VmoTransfer * _value, size_t _offset)
zx_status_t Clone (VmoTransfer * _result)
const uint64_t & vmo_id ()

ID of a VMO that was previously registered or allocated.

Required.

Defined at line 4285 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_vmo_id ()

Defined at line 4289 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

uint64_t * mutable_vmo_id ()

ID of a VMO that was previously registered or allocated.

Required.

Defined at line 4296 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_vmo_id ()

Defined at line 4304 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

const uint64_t & vmo_offset ()

Offset into the VMO to start reading or writing.

This is relative to the start of that VMO.

Required.

Defined at line 4316 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_vmo_offset ()

Defined at line 4320 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

uint64_t * mutable_vmo_offset ()

Offset into the VMO to start reading or writing.

This is relative to the start of that VMO.

Required.

Defined at line 4328 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_vmo_offset ()

Defined at line 4336 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

const uint64_t & payload_size ()

Number of bytes to read/write from/to this VMO region.

Required.

Defined at line 4347 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_payload_size ()

Defined at line 4351 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

uint64_t * mutable_payload_size ()

Number of bytes to read/write from/to this VMO region.

Required.

Defined at line 4358 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_payload_size ()

Defined at line 4366 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h