class BufferType

Defined at line 384 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 386 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 391 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 400 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 406 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 412 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 413 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 414 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 415 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 423 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 426 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

BufferType operator~ ()

Defined at line 440 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 444 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 449 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 454 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 459 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 464 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 469 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h