36 #ifndef __POOL_MANAGER_HH__
37 #define __POOL_MANAGER_HH__
54 uint32_t *reserved) = 0;
56 virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx) = 0;
66 #endif // __POOL_MANAGER_HH__
virtual uint32_t allocateRegion(const uint32_t size, uint32_t *reserved)=0
PoolManager(uint32_t minAlloc, uint32_t poolSize)
virtual uint32_t regionSize(std::pair< uint32_t, uint32_t > ®ion)=0
virtual bool canAllocate(uint32_t numRegions, uint32_t size)=0
virtual std::string printRegion()=0
virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx)=0