class Allocator
Defined at line 23 of file ../../src/sysmem/server/allocator.h
An instance of this class serves an Allocator connection. The lifetime of
the instance is 1:1 with the Allocator channel.
Because Allocator is essentially self-contained and handling the server end
of a channel, most of Allocator is private.
Public Methods
void ~Allocator ()
Public for std::unique_ptr
<Allocator
>:
Defined at line 24 of file ../../src/sysmem/server/allocator.cc
void CreateOwnedV1 (fidl::ServerEnd<fuchsia_sysmem::Allocator> server_end, Sysmem * device, fidl::ServerBindingGroup<fuchsia_sysmem::Allocator> & binding_group)
Create a V1 allocator owned by the binding_group.
Defined at line 27 of file ../../src/sysmem/server/allocator.cc
void CreateOwnedV2 (fidl::ServerEnd<fuchsia_sysmem2::Allocator> server_end, Sysmem * device, fidl::ServerBindingGroup<fuchsia_sysmem2::Allocator> & binding_group, std::optional<ClientDebugInfo> client_debug_info)
Create a v2 allocator owned by the binding_group.
The returned reference may be deallocated as soon as the current thread returns to the FIDL
dispatcher, but can be used until then. The return value can be removed once we've deleted
fuchsia_sysmem::Allocator and ConnectToSysmem2Allocator.
Defined at line 39 of file ../../src/sysmem/server/allocator.cc