Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

StelTextureLoader Class Reference

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

#include <StelTextureLoader.hpp>

List of all members.

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

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  )  [inline, protected]

Construct a StelTextureLoader loading in specified thread.

Definition at line 57 of file StelTextureLoader.hpp.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:47 2013 for Stellarium by  doxygen 1.6.3