![]() |
Stellarium 0.12.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure |
Texture Loader interface - used internally by texture implementations to load image data. More...
#include <StelTextureLoader.hpp>
Signals | |
| void | error (const QString &errorMsg) |
| Emitted when an error occurs during image loading, specifying error message. | |
Public Member Functions | |
| virtual void | abort () |
| Abort texture loading (for example when destroying a texture that's still loading). | |
Protected Member Functions | |
| StelTextureLoader (QThread *loaderThread) | |
| Construct a StelTextureLoader loading in specified thread. | |
| void | moveToLoaderThread () |
| Move the loader to its thread (after setting up image loading). | |
Texture Loader interface - used internally by texture implementations to load image data.
Loads image data in a separate thread.
Definition at line 41 of file StelTextureLoader.hpp.
| StelTextureLoader::StelTextureLoader | ( | QThread * | loaderThread | ) | [inline, protected] |
Construct a StelTextureLoader loading in specified thread.
Definition at line 57 of file StelTextureLoader.hpp.
| virtual void StelTextureLoader::abort | ( | ) | [inline, virtual] |
Abort texture loading (for example when destroying a texture that's still loading).
Can only be called from the main thread.
Reimplemented in StelHTTPTextureLoader.
Definition at line 49 of file StelTextureLoader.hpp.
| void StelTextureLoader::error | ( | const QString & | errorMsg | ) | [signal] |
Emitted when an error occurs during image loading, specifying error message.
| void StelTextureLoader::moveToLoaderThread | ( | ) | [inline, protected] |
Move the loader to its thread (after setting up image loading).
Definition at line 64 of file StelTextureLoader.hpp.
1.6.3