ObjectPool Class | Extending Qt Creator Manual

Extending Qt Creator Manual | ObjectPool

Extending Qt Creator Manual 4.6.2

# ObjectPool Class

(Utils::ObjectPool)

- List of all members, including inherited members

## Public Functions

| ObjectPool()
| ~ObjectPool()
void | addObject(T *t)
T * | findObject(const Func &func) const
void | forEachObject(const Func &func) const
int | size() const

## Member Function Documentation

### ObjectPool::ObjectPool()

Default constructs an instance of ObjectPool.

### ObjectPool::~ObjectPool()

Destroys the instance of ObjectPool.

### void ObjectPool::addObject(T *t)

### T *ObjectPool::findObject(const Func &func) const

### void ObjectPool::forEachObject(const Func &func) const

### int ObjectPool::size() const