Диспетчер ресурсов.
More...
#include <qd_resource_dispatcher.h>
|
|
bool | register_resource (qdResource *res, const T *res_owner) |
| | Регистрация ресурса.
|
| |
|
bool | unregister_resource (qdResource *res, const T *res_owner) |
| | Отмена регистрации ресурса.
|
| |
|
bool | is_registered (const qdResource *res, const T *res_owner=NULL) const |
| | Возвращает true, если ресурс res (опционально - с владельцем res_owner) есть в списке.
|
| |
|
const T * | find_owner (const qdResource *res) const |
| |
|
void | load_resources (const T *owner=NULL) const |
| | Загружает в память данные для ресурсов.
|
| |
|
void | release_resources (const T *owner=NULL, const T *hold_owner=NULL) const |
| | Выгружает из памяти данные ресурсов.
|
| |
|
bool | load_resource (qdResource *res, const T *res_owner) |
| | Загружает в память данные ресурса, если они еще не загружены.
|
| |
|
bool | release_resource (qdResource *res, const T *res_owner) |
| | Выгружает из памяти данные ресурса, если на него нет больше ссылок.
|
| |
template<class T>
class QDEngine::qdResourceDispatcher< T >
Диспетчер ресурсов.
The documentation for this class was generated from the following file: