QResourceManager Class

(Qt3DCore::QResourceManager)

Public Functions

QResourceManager()
~QResourceManager()
QHandle<ValueType, INDEXBITS> acquire()
QVector<QHandle<ValueType, INDEXBITS> > activeHandles() const
bool contains(const KeyType &id) const
int count() const
ValueType *data(const QHandle<ValueType, INDEXBITS> &handle)
QHandle<ValueType, INDEXBITS> getOrAcquireHandle(const KeyType &id)
ValueType *getOrCreateResource(const KeyType &id)
QHandle<ValueType, INDEXBITS> lookupHandle(const KeyType &id)
ValueType *lookupResource(const KeyType &id)
int maximumSize() const
void release(const QHandle<ValueType, INDEXBITS> &handle)
void releaseResource(const KeyType &id)
void reset()

Member Function Documentation

QResourceManager::QResourceManager()

Default constructs an instance of QResourceManager.

QResourceManager::~QResourceManager()

Destroys the instance of QResourceManager.

QHandle<ValueType, INDEXBITS> QResourceManager::acquire()

QVector<QHandle<ValueType, INDEXBITS> > QResourceManager::activeHandles() const

bool QResourceManager::contains(const KeyType &id) const

int QResourceManager::count() const

ValueType *QResourceManager::data(const QHandle<ValueType, INDEXBITS> &handle)

QHandle<ValueType, INDEXBITS> QResourceManager::getOrAcquireHandle(const KeyType &id)

ValueType *QResourceManager::getOrCreateResource(const KeyType &id)

QHandle<ValueType, INDEXBITS> QResourceManager::lookupHandle(const KeyType &id)

ValueType *QResourceManager::lookupResource(const KeyType &id)

int QResourceManager::maximumSize() const

void QResourceManager::release(const QHandle<ValueType, INDEXBITS> &handle)

void QResourceManager::releaseResource(const KeyType &id)

void QResourceManager::reset()