Template Class OutletMemoryPool¶
Defined in File OutletMemoryPool.hpp
Class Documentation¶
-
template<typename
PoolSpec>
classuit::OutletMemoryPool¶ Public Functions
-
bool
IsInitialized() const¶
-
void
Register(const address_t &address)¶ Retister a duct for an entry in the pool.
-
size_t
Lookup(const address_t &address) const¶ Get index of this duct’s entry in the pool.
-
value_type &
Get(const size_t index)¶ Get the querying duct’s current value from the underlying duct.
-
const value_type &
Get(const size_t index) const¶ Get the querying duct’s current value from the underlying duct.
-
size_t
TryConsumeGets(const size_t requested, const address_t &address)¶ Every member of the pool should call this with same requested.
Call after all members have requested a position in the pool.
-
void
Initialize()¶
Public Static Functions
-
constexpr bool
CanStep()¶
-
bool