Searched refs:ObjectPool (Results 1 – 4 of 4) sorted by relevance
80 class ObjectPool {82 ObjectPool() = default;83 virtual ~ObjectPool() = default;99 ObjectPool& operator =(const ObjectPool &) = delete;100 ObjectPool(const ObjectPool &) = delete;115 &ObjectPool::recycle, this, std::placeholders::_1)); in getDeleter()204 class InternalPool: public ObjectPool<VehiclePropValue> {210 return ObjectPool<VehiclePropValue>::obtain(); in obtain()
74 class ObjectPool {78 ObjectPool(size_t maxPoolObjectsSize, GetSizeFunc getSizeFunc) in ObjectPool() function80 virtual ~ObjectPool() = default;96 ObjectPool& operator=(const ObjectPool&) = delete;97 ObjectPool(const ObjectPool&) = delete;127 new Deleter<T>(std::bind(&ObjectPool::recycle, this, std::placeholders::_1)); in getDeleter()249 : public ObjectPool<aidl::android::hardware::automotive::vehicle::VehiclePropValue> {253 ObjectPool::GetSizeFunc getSizeFunc) in InternalPool()254 : ObjectPool(maxPoolObjectsSize, getSizeFunc), in InternalPool()
137 ObjectPool<VehiclePropValue>::recycle(o); in recycle()