Template Struct Pool
Defined in File pool.h
Inheritance Relationships
Base Types
public CE::Memory::AbstractBlockManager< T >(Template Struct AbstractBlockManager)public CE::State::Singleton< Pool< T > >(Template Class Singleton)
Struct Documentation
-
template<typename T>
struct Pool : public CE::Memory::AbstractBlockManager<T>, public CE::State::Singleton<Pool<T>> Singleton entry point for allocating objects.
Existing manager methods remain available; release_context() gives handles a retained PoolState.
Public Functions
-
inline Pool()
-
inline std::shared_ptr<release_context_type> release_context() const
Declaration:
[[nodiscard]]Retain the release state without requiring a later singleton lookup.
-
inline virtual void cull(std::chrono::minutes age) override
-
inline virtual void release_culled() override
-
inline Pool()