class BufferType

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

Types of buffer ownership/transfer supported by the stream.

Multiple values can be supported by the driver.

|BufferType| is flexible, hence may contain unknown members not

defined in the FIDL schema.

Public Members

static BufferType CLIENT_OWNED
static BufferType DRIVER_OWNED
static BufferType INLINE
static BufferType kMask

Public Methods

void BufferType ()

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

std::optional<BufferType> TryFrom (uint64_t value)

Constructs an instance of |BufferType| from an underlying primitive value

if the primitive does not contain any unknown members not defined in the

FIDL schema. Otherwise, returns |std::nullopt|.

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

BufferType TruncatingUnknown (uint64_t value)

Constructs an instance of |BufferType| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

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

void BufferType (uint64_t value)

Constructs an instance of |BufferType| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

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

uint64_t operator unsigned long ()

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

bool operator bool ()

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

bool operator== (const BufferType & other)

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

bool operator!= (const BufferType & other)

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

BufferType unknown_bits ()

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

bool has_unknown_bits ()

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

BufferType operator~ ()

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

BufferType operator| (const BufferType & other)

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

BufferType operator& (const BufferType & other)

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

BufferType operator^ (const BufferType & other)

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

void operator|= (const BufferType & other)

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

void operator&= (const BufferType & other)

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

void operator^= (const BufferType & other)

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