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

StelHTTPTextureLoader Class Reference

Texture loader that loads an image from the web. More...

#include <StelTextureLoader.hpp>

List of all members.

Signals

void finished (QImage)
 Emitted when image loading is finished, sending loaded image.

Public Member Functions

 StelHTTPTextureLoader (const QString &url, int delay, QThread *loaderThread)
 Construct a StelHTTPTextureLoader.
virtual void abort ()
 Abort texture loading (for example when destroying a texture that's still loading).

Detailed Description

Texture loader that loads an image from the web.

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

Definition at line 78 of file StelTextureLoader.hpp.


Constructor & Destructor Documentation

StelHTTPTextureLoader::StelHTTPTextureLoader ( const QString &  url,
int  delay,
QThread *  loaderThread 
) [inline]

Construct a StelHTTPTextureLoader.

Parameters:
url URL of the image to load the texture from.
delay Delay when to start loading in milliseconds.
loaderThread Thread in which the loader will run.

Definition at line 88 of file StelTextureLoader.hpp.


Member Function Documentation

virtual void StelHTTPTextureLoader::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 from StelTextureLoader.

Definition at line 96 of file StelTextureLoader.hpp.

void StelHTTPTextureLoader::finished ( QImage   )  [signal]

Emitted when image loading is finished, sending loaded image.


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