Rasterfarm-SDK
Loading...
Searching...
No Matches
ThreadTaskManager Class Reference

#include <textureimage.h>

Inheritance diagram for ThreadTaskManager:
TextureManager

Public Member Functions

 ~ThreadTaskManager ()
 
void addTexture (Engine::Texture *pTexture)
 
void release (Engine::Texture *pTexture)
 
void remove (Engine::Texture *pTexture)
 
bool find (Engine::Texture *pTexture)
 

Public Attributes

UnorderedMap< Texture *, Thread > thread
 
UnorderedMap< Texture *, TextureImage::TextureUploadTask * > task
 

Constructor & Destructor Documentation

◆ ~ThreadTaskManager()

ThreadTaskManager::~ThreadTaskManager ( )
inline

Member Function Documentation

◆ addTexture()

void ThreadTaskManager::addTexture ( Engine::Texture * pTexture)

◆ find()

bool ThreadTaskManager::find ( Engine::Texture * pTexture)
inline

◆ release()

void ThreadTaskManager::release ( Engine::Texture * pTexture)

If this method gets called it is because the Texture was deleted prior to completion of the Thread and corresponding task.

◆ remove()

void ThreadTaskManager::remove ( Engine::Texture * pTexture)
inline

Remove texture from this manager.

Member Data Documentation

◆ task

UnorderedMap< Texture *, TextureImage::TextureUploadTask * > ThreadTaskManager::task

◆ thread

UnorderedMap< Texture *, Thread > ThreadTaskManager::thread

The documentation for this class was generated from the following file: