|
degate 0.1.1
|
#include <MemoryMap.h>#include <FileSystem.h>#include <Configuration.h>#include <string>#include <map>#include <tr1/memory>#include <ctime>#include <utility>#include <iostream>
Go to the source code of this file.
Classes | |
| class | degate::TileCacheBase |
| class | degate::GlobalTileCache |
| class | degate::TileCache< PixelPolicy > |
| The TileCache class handles caching of image tiles. More... | |
Namespaces | |
| namespace | degate |
The namespace 'degate' is the namespace for everything that belongs to libdegate. | |
Defines | |
| #define | GET_CLOCK(dst_variable) clock_gettime(CLOCK_MONOTONIC, &dst_variable); |
Functions | |
| static bool | operator< (struct timespec const &a, struct timespec const &b) |
| Overloaded comparison operator for timespec-structs. | |
| #define GET_CLOCK | ( | dst_variable | ) | clock_gettime(CLOCK_MONOTONIC, &dst_variable); |
Definition at line 46 of file TileCache.h.
Referenced by degate::TileCache< PixelPolicy >::cleanup_cache(), degate::TileCache< PixelPolicy >::get_tile(), degate::GlobalTileCache::remove_oldest(), and degate::GlobalTileCache::request_cache_memory().
| static bool operator< | ( | struct timespec const & | a, |
| struct timespec const & | b | ||
| ) | [static] |
Overloaded comparison operator for timespec-structs.
a is completely before b. Else false is returned. Definition at line 57 of file TileCache.h.
{
if(a.tv_sec < b.tv_sec) return true;
else if(a.tv_sec == b.tv_sec && a.tv_nsec < b.tv_nsec) return true;
else return false;
}
1.7.4