Classes | Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | Friends
multires_image::TileCache Class Reference

#include <tile_cache.h>

List of all members.

Classes

class  CacheThread
class  FreeThread

Public Slots

void DeleteTextureSlot (Tile *)
void LoadTextureSlot (Tile *)

Signals

void SignalDeleteTexture (Tile *)
void SignalLoadTexture (Tile *)
void SignalMemorySize (int64_t)

Public Member Functions

void Exit ()
void Load (Tile *tile)
void Precache (const tf::Point &position)
void Precache (double x, double y)
void SetCurrentLayer (int layer)
 TileCache (TileSet *tileSet, QGLWidget *widget)
 ~TileCache (void)

Private Member Functions

void LoadTexture (Tile *tile)
void PrecacheLayer (int layer, const tf::Point &position, int size)
void UnloadTexture (Tile *tile)

Private Attributes

CacheThread m_cacheThread
int32_t m_currentLayer
tf::Point m_currentPosition
bool m_exit
FreeThread m_freeThread
int64_t m_memorySize
std::vector< std::queue< Tile * > > m_precacheRequests
std::map< int64_t, Tile * > m_precacheRequestSet
QMutex m_precacheRequestSetLock
QMutex m_precacheRequestsLock
std::stack< Tile * > m_renderRequests
std::map< int64_t, Tile * > m_renderRequestSet
QMutex m_renderRequestSetLock
QMutex m_renderRequestsLock
std::map< int64_t, Tile * > m_textureLoaded
QMutex m_textureLoadedLock
TileSetm_tileSet
QGLWidget * m_widget

Friends

class CacheThread
class FreeThread

Detailed Description

Definition at line 52 of file tile_cache.h.


Constructor & Destructor Documentation

multires_image::TileCache::TileCache ( TileSet tileSet,
QGLWidget *  widget 
)

Definition at line 47 of file tile_cache.cpp.

Definition at line 80 of file tile_cache.cpp.


Member Function Documentation

Definition at line 92 of file tile_cache.cpp.

Definition at line 189 of file tile_cache.cpp.

Definition at line 97 of file tile_cache.cpp.

void multires_image::TileCache::LoadTexture ( Tile tile) [private]

Definition at line 194 of file tile_cache.cpp.

Definition at line 87 of file tile_cache.cpp.

void multires_image::TileCache::Precache ( const tf::Point position)

Definition at line 125 of file tile_cache.cpp.

void multires_image::TileCache::Precache ( double  x,
double  y 
)

Definition at line 119 of file tile_cache.cpp.

void multires_image::TileCache::PrecacheLayer ( int  layer,
const tf::Point position,
int  size 
) [private]

Definition at line 149 of file tile_cache.cpp.

void multires_image::TileCache::SetCurrentLayer ( int  layer) [inline]

Definition at line 64 of file tile_cache.h.

void multires_image::TileCache::SignalMemorySize ( int64_t  ) [signal]
void multires_image::TileCache::UnloadTexture ( Tile tile) [private]

Definition at line 220 of file tile_cache.cpp.


Friends And Related Function Documentation

friend class CacheThread [friend]

Definition at line 104 of file tile_cache.h.

friend class FreeThread [friend]

Definition at line 115 of file tile_cache.h.


Member Data Documentation

Definition at line 117 of file tile_cache.h.

Definition at line 80 of file tile_cache.h.

Definition at line 81 of file tile_cache.h.

Definition at line 82 of file tile_cache.h.

Definition at line 118 of file tile_cache.h.

Definition at line 83 of file tile_cache.h.

std::vector<std::queue<Tile*> > multires_image::TileCache::m_precacheRequests [private]

Definition at line 85 of file tile_cache.h.

Definition at line 89 of file tile_cache.h.

Definition at line 123 of file tile_cache.h.

Definition at line 122 of file tile_cache.h.

Definition at line 86 of file tile_cache.h.

std::map<int64_t, Tile*> multires_image::TileCache::m_renderRequestSet [private]

Definition at line 88 of file tile_cache.h.

Definition at line 121 of file tile_cache.h.

Definition at line 120 of file tile_cache.h.

std::map<int64_t, Tile*> multires_image::TileCache::m_textureLoaded [private]

Definition at line 87 of file tile_cache.h.

Definition at line 124 of file tile_cache.h.

Definition at line 78 of file tile_cache.h.

Definition at line 79 of file tile_cache.h.


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


multires_image
Author(s): Marc Alban
autogenerated on Thu Aug 24 2017 02:46:18