template <typename Impl>

class VmoStoreBase

Defined at line 54 of file ../../src/lib/vmo_store/vmo_store.h

A base class used to compose `VmoStore`s.

Users should not use `VmoStoreBase` directly, use `VmoStore` or `OwnedVmoStore` instead.

`Impl` is a base implementation that is either `AbstractStorage` or

`VmoStoreBase

<AbstractStorage

>`.

Protected Members

Impl impl_

Public Methods

zx_status_t Reserve (size_t capacity)

Reserves `capacity` slots on the underlying store.

Stores that grow automatically may chose to pre-allocate memory on `Reserve`.

Stores that do not grow automatically will only increase their memory consumption upon

`Reserve` being called.

Defined at line 68 of file ../../src/lib/vmo_store/vmo_store.h

size_t count ()

Returns the number of registered VMOs.

Defined at line 71 of file ../../src/lib/vmo_store/vmo_store.h

bool is_full ()

Returns `true` if the backing store is full.

Stores that grow automatically will never report that they're full.

Defined at line 74 of file ../../src/lib/vmo_store/vmo_store.h

Protected Methods

template <typename... StoreArgs>
void VmoStoreBase<Impl> (StoreArgs... store_args)

Defined at line 78 of file ../../src/lib/vmo_store/vmo_store.h