Template Class InletMemoryPool¶
Defined in File InletMemoryPool.hpp
Class Documentation¶
-
template<typename
PoolSpec>
classuit::InletMemoryPool¶ Public Functions
-
bool
IsInitialized() const¶
-
size_t
GetSize() 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. This is a log-time operation so the index should be cached by the caller.
-
bool
TryPut(const value_type &val, const size_t index)¶ Get the querying duct’s current value from the underlying duct.
-
bool
TryFlush()¶
-
void
Initialize()¶ Call after all members have requested a position in the pool.
-
bool