Stellarium 0.12.2
List of all members | Signals | Public Member Functions | Protected Member Functions
StelTextureLoader Class Reference

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. More...
 

Public Member Functions

virtual void abort ()
 Abort texture loading (for example when destroying a texture that's still loading). More...
 

Protected Member Functions

 StelTextureLoader (QThread *loaderThread)
 Construct a StelTextureLoader loading in specified thread. More...
 
void moveToLoaderThread ()
 Move the loader to its thread (after setting up image loading). More...
 

Detailed Description

Texture Loader interface - used internally by texture implementations to load image data.

Loads image data in a separate thread.

Note
This is an internal class of the Renderer subsystem and should not be used elsewhere.

Definition at line 41 of file StelTextureLoader.hpp.

Constructor & Destructor Documentation

StelTextureLoader::StelTextureLoader ( QThread *  loaderThread)
inlineprotected

Construct a StelTextureLoader loading in specified thread.

Definition at line 57 of file StelTextureLoader.hpp.

Member Function Documentation

virtual void StelTextureLoader::abort ( )
inlinevirtual

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 ( )
inlineprotected

Move the loader to its thread (after setting up image loading).

Definition at line 64 of file StelTextureLoader.hpp.


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