Stellarium 0.12.3
List of all members | Signals | Public Member Functions
StelFileTextureLoader Class Reference

Texture loader that loads an image from the file system. More...

#include <StelTextureLoader.hpp>

Signals

void finished (QImage)
 Emitted when image loading is finished, sending loaded image. More...
 
- Signals inherited from StelTextureLoader
void error (const QString &errorMsg)
 Emitted when an error occurs during image loading, specifying error message. More...
 

Public Member Functions

 StelFileTextureLoader (const QString &path, int delay, QThread *loaderThread)
 Construct a StelFileTextureLoader. More...
 
- Public Member Functions inherited from StelTextureLoader
virtual void abort ()
 Abort texture loading (for example when destroying a texture that's still loading). More...
 

Additional Inherited Members

- Protected Member Functions inherited from StelTextureLoader
 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 that loads an image from the file system.

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

Definition at line 157 of file StelTextureLoader.hpp.

Constructor & Destructor Documentation

StelFileTextureLoader::StelFileTextureLoader ( const QString &  path,
int  delay,
QThread *  loaderThread 
)
inline

Construct a StelFileTextureLoader.

Parameters
pathAbsoulte path of the image file to load from.
delayDelay when to start loading in milliseconds.
loaderThreadThread in which the loader will run.

Definition at line 167 of file StelTextureLoader.hpp.

Member Function Documentation

void StelFileTextureLoader::finished ( QImage  )
signal

Emitted when image loading is finished, sending loaded image.


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