Logo Search packages:      
Sourcecode: earth3d version File versions  Download package

MapTileTreeNodeCore Class Reference

#include <mapTileTreeNodeCore.h>

Inheritance diagram for MapTileTreeNodeCore:

List of all members.


Detailed Description

This is the core of a MapTileTreeNode. It contains the data that belongs to one node of the tree, including a MapTile object with that map itself. But it also contains information from where to request the data for this node and if the request is already running.

Definition at line 14 of file mapTileTreeNodeCore.h.


Public Member Functions

virtual void addDownloader (StopableDownload *drl)
virtual void dataReceived (const char *response, int size, const char *sender, int countParts, struct part_t *parts, void *userdata, ConnectNetworkService *cns, StopableDownload *download)
virtual void discardUncompressedImage ()
virtual void finishInterpolation ()=0
virtual void garbageCollect ()
virtual int getBPP ()
char * getChildRequestID (int nr)
virtual char * getCompressedImage ()
virtual int getCompressedImageSize ()
bool getDownloaded ()
virtual bool getDownloadFailed ()
bool getGenerated ()
virtual int getHeight ()
bool getRequested ()
char * getRequestID ()
int getScaledHeight ()
char * getScaledUncompressedImage ()
int getScaledWidth ()
virtual bool getThisInterpolates ()=0
virtual char * getUncompressedImage ()
virtual int getUncompressedImageSize ()
virtual int getWidth ()
virtual bool hasImage ()
virtual void removeDownloader (StopableDownload *drl)
virtual void removeMapTile ()
void setChildRequestID (int nr, const char *requestID)
void setDownloaded (bool downloaded)
virtual void setDownloadFailed ()
void setGenerated (bool generated)
virtual void setImage (int width, int height, const char *image, int size, const char *type)
void setRequested (bool requested)
void setRequestID (const char *requestID)
virtual void stopDownloads ()

Public Attributes

long magic

Protected Member Functions

virtual void createMapTile ()
void setMapTile (MapTile &newtile)

Protected Attributes

QMutex downloadableMutex
bool downloadFailed
int runningDownloads
StopableDownload ** runningDownloadsArray
MapTileUncompressed * tile
QMutex uncompressedimagemutex

Private Attributes

bool downloaded
bool generated
bool requested

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

Generated by  Doxygen 1.6.0   Back to index