template <>

class WireTableBuilder

Defined at line 4865 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h

Public Methods

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_sysmem2::wire::Heap> & heap_type (First && first, Args &&... args_)

The type of the heap, specified using a bind string defined per the

schema and mechanism described in comments in the

fuchsia.sysmem.heap.bind file.

Examples:

* "fuchsia.sysmem.heap.HEAP_TYPE.SYSTEM_RAM"

* "fuchsia.goldfish.platform.sysmem.heap.HEAP_TYPE.HOST_VISIBLE"

Defined at line 4884 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_sysmem2::wire::Heap> & heap_type (First && first, Args &&... args_)

The type of the heap, specified using a bind string defined per the

schema and mechanism described in comments in the

fuchsia.sysmem.heap.bind file.

Examples:

* "fuchsia.sysmem.heap.HEAP_TYPE.SYSTEM_RAM"

* "fuchsia.goldfish.platform.sysmem.heap.HEAP_TYPE.HOST_VISIBLE"

Defined at line 4884 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_sysmem2::wire::Heap> & id (First && first, Args &&... args_)

The uint64 id of the heap. This is only required to be unique per (type,

boot) tuple. In other words, a given heap id is only meaningful within

the current boot of the machine (not across boots), and only within the

`Heap.type`.

For `Heap.type`(s) that refer to a singleton heap, a participant

specifying the singleton heap in

[`fuchsia.sysmem2.BufferMemoryConstraints.permitted_heaps`] can leave

this field un-set, or set it to zero. Sysmem will always fill out this

field for the heap indicated in

[`fuchsia.sysmem2.BufferMemorySettings.heap`] (for a singleton heap the

`id` field will be set to 0 by sysmem).

Defined at line 4908 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_sysmem2::wire::Heap> & id (First && first, Args &&... args_)

The uint64 id of the heap. This is only required to be unique per (type,

boot) tuple. In other words, a given heap id is only meaningful within

the current boot of the machine (not across boots), and only within the

`Heap.type`.

For `Heap.type`(s) that refer to a singleton heap, a participant

specifying the singleton heap in

[`fuchsia.sysmem2.BufferMemoryConstraints.permitted_heaps`] can leave

this field un-set, or set it to zero. Sysmem will always fill out this

field for the heap indicated in

[`fuchsia.sysmem2.BufferMemorySettings.heap`] (for a singleton heap the

`id` field will be set to 0 by sysmem).

Defined at line 4908 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h

Friends

template <>
class Heap