33#ifndef DVD_OBJECT_POOL_H_
34#define DVD_OBJECT_POOL_H_
41template<
typename T,
size_t N,
bool allowResize>
46 template<
typename... Args>
61 eastl::fixed_vector<PoolHandle, N, allowResize>
_ids{};
62 eastl::fixed_vector<T*, N, allowResize>
_pool{};
PoolHandle registerExisting(T &object)
eastl::fixed_vector< PoolHandle, N, allowResize > _ids
T * find(PoolHandle handle) const
void unregisterExisting(PoolHandle handle)
void deallocate(PoolHandle handle)
PoolHandle registerExistingInternal(T &object, bool retry)
eastl::fixed_vector< T *, N, allowResize > _pool
PoolHandle allocate(Args... args)
Handle console commands that start with a forward slash.
std::shared_mutex SharedMutex