degate  0.1.2
Classes | Namespaces | Defines | Functions
TileCache.h File Reference
#include <MemoryMap.h>
#include <FileSystem.h>
#include <Configuration.h>
#include <string>
#include <map>
#include <memory>
#include <ctime>
#include <utility>
#include <iostream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  degate::TileCacheBase
class  degate::GlobalTileCache
class  degate::TileCache< PixelPolicy >
 The TileCache class handles caching of image tiles. More...


namespace  degate

The namespace 'degate' is the namespace for everything that belongs to libdegate.


#define GET_CLOCK(dst_variable)   clock_gettime(CLOCK_MONOTONIC, &dst_variable);


static bool operator< (struct timespec const &a, struct timespec const &b)
 Overloaded comparison operator for timespec-structs.

Define Documentation

#define GET_CLOCK (   dst_variable)    clock_gettime(CLOCK_MONOTONIC, &dst_variable);

Function Documentation

static bool operator< ( struct timespec const &  a,
struct timespec const &  b 
) [static]

Overloaded comparison operator for timespec-structs.

Returns true, if 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;