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

FilesystemStorage Class Reference

#include <FilesystemStorage.h>

Inheritance diagram for FilesystemStorage:

SimpleTileStorage TileStorage

List of all members.


Detailed Description

Filesystem cache to store tiles locally.

Deprecated:
This implementation wastes tons of inodes, lots of space, is very slow and ineffective. Will be replaced, see TODO file.
Deprecated:
should be restructured and merged to GoogleLayer

Definition at line 37 of file FilesystemStorage.h.


Public Member Functions

void Detach ()
void Enqueue (TilePtr tile)
 FilesystemStorage (std::string root)
void SetNextLoadStorage (TileStorage *ts)
void SetSaveStorage (TileStorage *ts)
virtual ~FilesystemStorage ()

Protected Member Functions

void Process (TilePtr tile)

Protected Attributes

TileStoragem_pNextLoadStorage
 Storage to pass tile to for loading, if we couldn't load it.
TileStoragem_pSaveStorage
 Storage to pass tile to for saving.

Private Member Functions

std::string PathFromCoords (int x, int y, int level, int type)

Private Attributes

std::string m_StorageRoot
 Root directory of the storage.

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

Generated by  Doxygen 1.6.0   Back to index