From f206cd649d5776b1176805c68f978b91435de3e9 Mon Sep 17 00:00:00 2001 From: ponchio Date: Fri, 11 Mar 2011 16:14:54 +0000 Subject: [PATCH] moved from sandbox --- wrap/gcache/cache.h | 240 +++ wrap/gcache/controller.h | 131 ++ wrap/gcache/dheap.h | 274 +++ wrap/gcache/docs/Doxyfile | 1600 +++++++++++++++ wrap/gcache/docs/css/prettify.css | 16 + wrap/gcache/docs/img/architecture.png | Bin 0 -> 32317 bytes wrap/gcache/docs/img/architecture.svg | 2626 +++++++++++++++++++++++++ wrap/gcache/docs/img/overflow.png | Bin 0 -> 8526 bytes wrap/gcache/docs/img/overflow.svg | 458 +++++ wrap/gcache/docs/img/shadow.png | Bin 0 -> 248 bytes wrap/gcache/docs/js/prettify.css | 16 + wrap/gcache/docs/js/prettify.js | 46 + wrap/gcache/docs/readme.html | 175 ++ wrap/gcache/door.h | 101 + wrap/gcache/provider.h | 87 + wrap/gcache/token.h | 91 + 16 files changed, 5861 insertions(+) create mode 100644 wrap/gcache/cache.h create mode 100644 wrap/gcache/controller.h create mode 100644 wrap/gcache/dheap.h create mode 100644 wrap/gcache/docs/Doxyfile create mode 100644 wrap/gcache/docs/css/prettify.css create mode 100644 wrap/gcache/docs/img/architecture.png create mode 100644 wrap/gcache/docs/img/architecture.svg create mode 100644 wrap/gcache/docs/img/overflow.png create mode 100644 wrap/gcache/docs/img/overflow.svg create mode 100644 wrap/gcache/docs/img/shadow.png create mode 100644 wrap/gcache/docs/js/prettify.css create mode 100644 wrap/gcache/docs/js/prettify.js create mode 100644 wrap/gcache/docs/readme.html create mode 100644 wrap/gcache/door.h create mode 100644 wrap/gcache/provider.h create mode 100644 wrap/gcache/token.h diff --git a/wrap/gcache/cache.h b/wrap/gcache/cache.h new file mode 100644 index 00000000..6cecdee0 --- /dev/null +++ b/wrap/gcache/cache.h @@ -0,0 +1,240 @@ +#ifndef GCACHE_CACHE_H +#define GCACHE_CACHE_H + +#include +#include + +#include +#include "provider.h" + +/* this cache system enforce the rule that the items in a cache are always in all the cache below */ +/* two mechanism to remove tokens from the cache: + 1) set token count to something low + 2) set maximum number of tokens in the provider +*/ + +/** Cache virtual base class. You are required to implement the pure virtual functions get, drop and size. +*/ + +template +class Cache: public Provider { + + public: + bool final; //true if this is the last cache (the one we use the data from) + bool quit; //graceful exit + bool waiting; + ///data is fetched from here + Provider *input; + + protected: + ///max space available + quint64 s_max; + ///current space used + quint64 s_curr; + + public: + Cache(quint64 _capacity = INT_MAX): + final(false), quit(false), waiting(false), input(NULL), s_max(_capacity), s_curr(0) {} + virtual ~Cache() {} + + void setInputCache(Provider *p) { input = p; } + quint64 capacity() { return s_max; } + quint64 size() { return s_curr; } + void setCapacity(quint64 c) { s_max = c; } + ///return true if the cache is waiting for priority to change + bool isWaiting() { return waiting; } + + ///empty the cache. Make sure no resource is locked before calling this. + void flush() { + std::vector tokens; + { + QMutexLocker locker(&(this->heap_lock)); + for(int i = 0; i < this->heap.size(); i++) { + Token *token = &(this->heap[i]); + tokens.push_back(token); + s_curr -= drop(token); + assert(!(token->count >= Token::LOCKED)); + if(final) + token->count.testAndSetOrdered(Token::READY, Token::CACHE); + } + this->heap.clear(); + } + + assert(s_curr == 0); + + { + QMutexLocker locker(&(input->heap_lock)); + for(unsigned int i = 0; i < tokens.size(); i++) { + input->heap.push(tokens[i]); + } + } + } + + ///ensure there no locked item + template void flush(FUNCTOR functor) { + std::vector tokens; + { + int count = 0; + QMutexLocker locker(&(this->heap_lock)); + for(int k = 0; k < this->heap.size(); k++) { + Token *token = &this->heap[k]; + if(functor(token)) { //drop it + tokens.push_back(token); + s_curr -= drop(token); + assert(!token->count >= Token::LOCKED); + if(final) + token->count.testAndSetOrdered(Token::READY, Token::CACHE); + } else + this->heap.at(count++) = token; + } + this->heap.resize(count); + this->heap_dirty = true; + } + { + QMutexLocker locker(&(input->heap_lock)); + for(unsigned int i = 0; i < tokens.size(); i++) { + input->heap.push(tokens[i]); + } + } + } + + protected: + ///return the space used in the cache by the loaded resource + virtual int size(Token *token) = 0; + ///returns amount of space used in cache -1 for failed transfer + virtual int get(Token *token) = 0; + ///return amount removed + virtual int drop(Token *token) = 0; + + ///called in as first thing in run() + virtual void begin() {} + ///called in as last thing in run() + virtual void end() {} + + ///[should be protected] + void run() { + assert(input); + /* basic operation of the cache: + 1) transfer first element of input_cache if + cache has room OR first element in input as higher priority of last element + 2) make room until eliminating an element would leave space. */ + begin(); + while(!this->quit) { + waiting = true; + input->check_queue.enter(true); //wait for cache below to load someghing or priorities to change + waiting = false; + + if(this->quit) break; + + if(unload() || load()) + input->check_queue.open(); //we signal ourselves to check again + } + flush(); + this->quit = false; //in case someone wants to restart; + end(); + } + + + + ///should be protected + bool unload() { + Token *remove = NULL; + //make room int the cache checking that: + //1 we need to make room (capacity < current) + if(size() > capacity()) { + + QMutexLocker locker(&(this->heap_lock)); + + //2 we have some element not in the upper caches (heap.size() > 0 + if(this->heap.size()) { + Token &last = this->heap.min(); + int itemsize = size(&last); + + //3 after removing the item, we are still full (avoids bouncing items) + if(size() - itemsize > capacity()) { + + //4 item to remove is not locked. (only in last cache. you can't lock object otherwise) + if(!final) { //not final we can drop when we want + remove = this->heap.popMin(); + } else { + last.count.testAndSetOrdered(Token::READY, Token::CACHE); + if(last.count <= Token::CACHE) { //was not locked and now can't be locked, remove it. + remove = this->heap.popMin(); + } else { //last item is locked need to reorder stack + remove = this->heap.popMin(); + this->heap.push(remove); + return true; + } + } + } + } + } + + if(remove) { + int size = drop(remove); + assert(size >= 0); + s_curr -= size; + + { + QMutexLocker input_locker(&(input->heap_lock)); + input->heap.push(remove); + } + return true; + } + return false; + } + ///should be protected + bool load() { + Token *insert = NULL; + Token *last = NULL; //we want to lock only one heap at once to avoid deadlocks. + + /* check wether we have room (curr < capacity) or heap is empty. + empty heap is bad: we cannot drop anything to make room, and cache above has nothing to get. + this should not happen if we set correct cache sizes, but if it happens.... */ + { + QMutexLocker locker(&(this->heap_lock)); + this->rebuild(); + if(size() > capacity() && this->heap.size() > 0) { + last = &(this->heap.min()); //no room, set last so we might check for a swap. + } + } + + { + QMutexLocker input_locker(&(input->heap_lock)); + input->rebuild(); //if dirty rebuild + if(input->heap.size()) { //we need something in input to tranfer. + Token &first = input->heap.max(); + if(first.count > Token::REMOVE && + (!last || last->priority < first.priority)) { //if !last we already decided we want a transfer., otherwise check for a swap + insert = input->heap.popMax(); //remove item from heap, while we transfer it. + } + } + } + + if(insert) { //we want to fetch something + + int size = get(insert); + + if(size >= 0) { //success + s_curr += size; + { + QMutexLocker locker(&(this->heap_lock)); + if(final) + insert->count.ref(); //now lock is 0 and can be locked + + this->heap.push(insert); + } + this->check_queue.open(); //we should signal the parent cache that we have a new item + return true; + + } else { //failed transfer put it back, we will keep trying to transfer it... + QMutexLocker input_locker(&(input->heap_lock)); + input->heap.push(insert); + return false; + } + } + return false; + } +}; + +#endif // GCACHE_H diff --git a/wrap/gcache/controller.h b/wrap/gcache/controller.h new file mode 100644 index 00000000..812f37a5 --- /dev/null +++ b/wrap/gcache/controller.h @@ -0,0 +1,131 @@ +#ifndef GCACHE_CONTROLLER_H +#define GCACHE_CONTROLLER_H + +#include "cache.h" + +/** Allows to insert tokens, update priorities and generally control the cache. +*/ + +template +class Controller { + public: + ///should be private + std::vector tokens; //tokens waiting to be added + bool quit; //gracefully terminate. + bool paused; + bool stopped; + + public: + ///should be protected + Provider provider; + ///should be protected + std::vector *> caches; + + Controller(): quit(false), paused(false), stopped(true) {} + ~Controller() { finish(); } + + ///called before the cache is started to add a cache in the chain + /** The order in which the caches are added is from the lowest to the highest. */ + void addCache(Cache *cache) { + if(caches.size() == 0) + cache->setInputCache(&provider); + else + cache->setInputCache(caches.back()); + assert(cache->input); + caches.push_back(cache); + } + ///insert a token in the last provider (actual insertion is done on updatePriorities) + void addToken(Token *token) { + token->count = Token::CACHE; + tokens.push_back(token); + } + + ///WARNING: migh stall for the time needed to drop tokens from cache. + //FUNCTOR has bool operator(Token *) and return true to remove + template void removeTokens(FUNCTOR functor) { + stop(); + + std::vector tmp; + for(quint32 i = 0; i < caches.size(); i++) + caches[i]->flush(functor); + + provider.flush(functor); + + start(); + } + + ///if more tokens than m present in the provider, lowest priority ones will be removed + void setMaxTokens(int m) { + QMutexLocker l(&provider.heap_lock); + provider.max_tokens = m; + } + + ///ensure that added tokens are processed and existing ones have their priority updated. + void updatePriorities() { + + if(tokens.size()) { + QMutexLocker l(&provider.heap_lock); + for(unsigned int i = 0; i < tokens.size(); i++) + provider.heap.push(tokens[i]); + tokens.clear(); + } + + provider.pushPriorities(); + for(unsigned int i = 0; i < caches.size(); i++) + caches[i]->pushPriorities(); + } + + ///start the various cache threads. + void start() { + if(!stopped) return; + assert(!paused); + assert(caches.size() > 1); + caches.back()->final = true; + for(unsigned int i = 0; i < caches.size(); i++) //cache 0 is a provider, and his thread is not running. + caches[i]->start(); + stopped = false; + } + ///stops the ache threads + void stop() { + if(stopped) return; + if(paused) resume(); + //stop threads + for(int i = caches.size()-1; i >= 0; i--) { + caches[i]->quit = true; //hmmmmmmmmmmmmmm not very clean. + if(i == 0) + provider.check_queue.open(); + else + caches[i-1]->check_queue.open(); //cache i listens on queue i-1 + caches[i]->wait(); + } + stopped = true; + } + + void finish() { + stop(); + } + + void pause() { + if(paused) return; + provider.heap_lock.lock(); + for(unsigned int i = 0; i < caches.size(); i++) + caches[i]->heap_lock.lock(); + paused = true; + } + + void resume() { + if(!paused) return; + provider.heap_lock.unlock(); + for(unsigned int i = 0; i < caches.size(); i++) + caches[i]->heap_lock.unlock(); + paused = false; + } + ///empty all caches + void flush() { + for(unsigned int i = caches.size()-1; i >= 0; i--) + caches[i]->flush(); + } +}; + + +#endif // CONTROLLER_H diff --git a/wrap/gcache/dheap.h b/wrap/gcache/dheap.h new file mode 100644 index 00000000..faf6d060 --- /dev/null +++ b/wrap/gcache/dheap.h @@ -0,0 +1,274 @@ +/**************************************************************************** +* GCache * +* Author: Federico Ponchio * +* * +* Copyright(C) 2011 * +* Visual Computing Lab * +* ISTI - Italian National Research Council * +* * +* All rights reserved. * +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * +* for more details. * +* * +****************************************************************************/ + +#ifndef DD_HEAP_H +#define DD_HEAP_H + +/** + Double ended heap inspired by + Min-Max Heaps and Generalized Priority Queues + M. D. ATKINSON,J.-R. SACK, N. SANTORO,and T. STROTHOTTE + + This structure allows for quick extraction of biggest and smaller item out of a set + with linear reconstruction of the ordering. + + DHeap exposes the public interface of vector. (push_back(), resize() etc.). + + Compared to a stl heap, rebuild is 15% longer, extraction is 2x longer, + but you get both min and max extraction in log(n) time. +*/ + +#include +#include + + +template +class DHeap: public std::vector { +public: + + void push(const T& elt) { + push_back(elt); + bubbleUp(this->size()-1); + } + + T &min() { return this->front(); } //root is smallest element + + T popMin() { + T elt = this->front(); + //move the last element to the root and + this->front() = this->back(); + this->pop_back(); + //enforce minmax heap property + trickleDownMin(0); + return elt; + } + + //max is second element + T &max() { + if(this->size() == 1) return at(0); + return at(1); + } + + T popMax() { + int p = 1; + if(this->size() == 1) p = 0; + T elt = at(p); + //max is replaced with last item. + at(p) = this->back(); + this->pop_back(); + trickleDownMax(p); //enforce minmax heap property + return elt; + } + + //just reinsert all elements + void rebuild() { + for(unsigned int i = 0; i < this->size(); i++) + bubbleUp(i); + } + +protected: + T &at(int n) { return std::vector::at(n); } + + int isMax(int e) const { return e & 1; } + int parentMin(int i) const { return (((i+2)>>2)<<1) - 2; } + int parentMax(int i) const { return (((i+2)>>2)<<1) - 1; } + int leftChildMin(int i) const { return (((i+2)>>1)<<2) -2; } + int leftChildMax(int i) const { return (((i+2)>>1)<<2) -1; } + + void swap(int a, int b) { T tmp = at(a); at(a) = at(b); at(b) = tmp; } + + //returns smallest elemennt of children intervals (or self if no children) + int smallestChild(int i) { + int l = leftChildMin(i); + if(l >= this->size()) return i; //no children, return self + + int r = l+2; //right child + if(r < this->size() && at(r) < at(l)) + return r; + return l; + } + //return biggest children or self if no children + int greatestChild(int i) { + int l = leftChildMax(i); + if(l >= this->size()) return i; //no children, return self + + int r = l+2; //right child + if(r < this->size() && at(r) > at(l)) + return r; + return l; + } + + //all stuff involving swaps could be optimized perofming circular swaps + // but you mantain the code after :) + void trickleDownMin(int i) { + while(1) { + + //find smallest child + unsigned int m = leftChildMin(i); + if(m >= this->size()) break; + unsigned int r = m+2; + if(r < this->size() && at(r) < at(m)) + m = r; + + if(at(m) < at(i)) { //if child is smaller swap + swap(i, m); + i = m; //check swapped children + } else //no swap? finish + break; + + m = i+1; //enforce order in interval + if(m >= this->size()) break; + if(at(m) < at(i)) + swap(i, m); + } + } + + void trickleDownMax(int i) { + while(1) { + + //find greatest child + unsigned int m = leftChildMax(i); + if(m >= this->size()) break; + unsigned int r = m+2; + if(r < this->size() && at(r) > at(m)) + m = r; + + if(at(m) > at(i)) { + swap(i, m); + i = m; + } else + break; + + m = i-1; //enforce order in interval + if(m >= this->size()) break; + if(at(m) > at(i)) { + swap(i, m); + } + } + } + + void bubbleUpMin(int i) { + while(1) { + int m = parentMin(i); + if(m < 0) break; + if(at(m) > at(i)) { + swap(i, m); + i = m; + } else + break; + } + } + + void bubbleUpMax(int i) { + while(1) { + int m = parentMax(i); + if(m < 0) break; + if(at(m) < at(i)) { + swap(i, m); + i = m; + } else + break; + } + } + + void bubbleUp(int i) { + if(isMax(i)) { + int m = i-1; + if(at(m) > at(i)) { + swap(i, m); + bubbleUpMin(m); + } else + bubbleUpMax(i); + } else { + int m = parentMax(i); + if(m < 0) return; + if(at(m) < at(i)) { + swap(i, m); + bubbleUpMax(m); + } else + bubbleUpMin(i);//just reinsert all elements, (no push back necessary, of course + } + } + /* DEBUG */ + public: + ///check the double heap conditions are met, mainly for debugging purpouses + bool isHeap() { //checks everything is in order + int s = this->size(); + for(int i = 0; i < s; i += 2) { + if(i+1 < s && at(i) > at(i+1)) return false; + int l = leftChildMin(i); + if(l < s && at(i) > at(l)) return false; + int r = l + 2; + if(r < s && at(i) > at(r)) return false; + } + for(int i = 1; i < s; i += 2) { + int l = leftChildMax(i); + if(l < s && at(i) < at(l)) return false; + int r = l + 2; + if(r < s && at(i) < at(r)) return false; + } + return true; + } +}; + +/** Same functionality as IHeap, but storing pointers instead of the objects */ + +template +class PtrDHeap { + private: + class Item { + public: + T *value; + Item(T *val): value(val) {} + bool operator<(const Item &i) const { return *value < *i.value; } + bool operator>(const Item &i) const { return *value > *i.value; } + }; + DHeap heap; + + public: + T *push(T *t) { + Item i(t); + heap.push(i); + return i.value; + } + void push_back(T *t) { + heap.push_back(Item(t)); + } + int size() { return heap.size(); } + void resize(int n) { assert(n < (int)heap.size()); return heap.resize(n, Item(NULL)); } + void clear() { heap.clear(); } + T &min() { Item &i = heap.min(); return *i.value; } + T *popMin() { Item i = heap.popMin(); return i.value; } + + T &max() { Item &i = heap.max(); return *i.value; } + T *popMax() { Item i = heap.popMax(); return i.value; } + + void rebuild() { heap.rebuild(); } + T &operator[](int i) { + return *(heap[i].value); + } + Item &at(int i) { return heap[i]; } + bool isHeap() { return heap.isHeap(); } +}; + +#endif diff --git a/wrap/gcache/docs/Doxyfile b/wrap/gcache/docs/Doxyfile new file mode 100644 index 00000000..d45c3226 --- /dev/null +++ b/wrap/gcache/docs/Doxyfile @@ -0,0 +1,1600 @@ +# Doxyfile 1.6.3 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = GCache + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 1.0 + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = /home/ponchio/devel/code/GCache/docs + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it parses. +# With this tag you can assign which parser to use for a given extension. +# Doxygen has a built-in mapping, but you can override or extend it using this tag. +# The format is ext=language, where ext is a file extension, and language is one of +# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, +# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat +# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), +# use: inc=Fortran f=C. Note that for custom extensions you also need to set +# FILE_PATTERNS otherwise the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate getter +# and setter methods for a property. Setting this option to YES (the default) +# will make doxygen to replace the get and set methods by a property in the +# documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to +# determine which symbols to keep in memory and which to flush to disk. +# When the cache is full, less often used symbols will be written to disk. +# For small to medium size projects (<1000 input files) the default value is +# probably good enough. For larger projects a too small cache size can cause +# doxygen to be busy swapping symbols to and from disk most of the time +# causing a significant performance penality. +# If the system has enough physical memory increasing the cache will improve the +# performance by keeping more symbols in memory. Note that the value works on +# a logarithmic scale so increasing the size by one will rougly double the +# memory usage. The cache size is given by this formula: +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols + +SYMBOL_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespace are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is NO. + +SHOW_DIRECTORIES = NO + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by +# doxygen. The layout file controls the global structure of the generated output files +# in an output format independent way. The create the layout file that represents +# doxygen's defaults, run doxygen with the -l option. You can optionally specify a +# file name after the option, if omitted DoxygenLayout.xml will be used as the name +# of the layout file. + +LAYOUT_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = /home/ponchio/devel/code/GCache + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.vhd \ + *.vhdl + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = YES + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. For this to work a browser that supports +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox +# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). + +HTML_DYNAMIC_SECTIONS = NO + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER +# are set, an additional index file will be generated that can be used as input for +# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated +# HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. +# For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's +# filter section matches. +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, +# and Class Hierarchy pages using a tree view instead of an ordered list. + +USE_INLINE_TREES = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = NO + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a PHP enabled web server instead of at the web client +# using Javascript. Doxygen will generate the search PHP script and index +# file to put on the web server. The advantage of the server +# based approach is that it scales better to large projects and allows +# full text search. The disadvances is that it is more difficult to setup +# and does not have live searching capabilities. + +SERVER_BASED_SEARCH = NO + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse +# the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more +# powerful graphs. + +CLASS_DIAGRAMS = NO + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# By default doxygen will write a font called FreeSans.ttf to the output +# directory and reference it in all dot files that doxygen generates. This +# font does not include all possible unicode characters however, so when you need +# these (or just want a differently looking font) you can specify the font name +# using DOT_FONTNAME. You need need to make sure dot is able to find the font, +# which can be done by putting it in a standard location or by setting the +# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory +# containing the font. + +DOT_FONTNAME = FreeSans + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the output directory to look for the +# FreeSans.ttf font (which doxygen will put there itself). If you specify a +# different font using DOT_FONTNAME you can set the path where dot +# can find it using this tag. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/wrap/gcache/docs/css/prettify.css b/wrap/gcache/docs/css/prettify.css new file mode 100644 index 00000000..577ab069 --- /dev/null +++ b/wrap/gcache/docs/css/prettify.css @@ -0,0 +1,16 @@ +.str,.atv{color:#080} +.kwd,.tag{color:#008} +.com{color:#800} +.typ,.atn,.dec{color:#606} +.lit{color:#066} +.pun{color:#660} +.pln{color:#000} +pre.prettyprint{padding:2px;border:1px solid #888} +@media print{.str{color:#060} +.kwd,.tag{color:#006;font-weight:bold} +.com{color:#600;font-style:italic} +.typ{font-weight:bold} +.lit{color:#044} +.pun{color:#440} +.atn,.typ{color:#404} +.atv{color:#060}} diff --git a/wrap/gcache/docs/img/architecture.png b/wrap/gcache/docs/img/architecture.png new file mode 100644 index 0000000000000000000000000000000000000000..ace42f84f5c78b8f6fc4f819bae6f57e17777925 GIT binary patch literal 32317 zcmXtf1yoes`}Ht%clXep(xnXDF_O|DDBTT83?WEJNJ@wd4U!T=gTSDqbc1wvedGK4 zf2_q~=5p^n=RC2W{p@>gtgf~SJ`N2I006*OQw8e-06-=H03{R)19{}f=9hne(7ax# z8Db%Sg0bwN$nV(hswQ3l0B-!hUldhwELP+}YHuZDZv!_6Z$E2Kdw`#xAHS398!uaH zcYA&}Psi*-85#h937`gkZs?!0pX(QF2)TrJI*y}q5d~svDSQSNp0o3EzJy~;FPl!k zx~nQL|JGbp-CuO+y<`&64btKg=G%Q&VLgV%-S6G2a>u zxmxsFYHPbfNM9{@fg!cVycF?$Hf8GOUnt-<|GsG)u*e*1%)5rrX!yUahD+(_nFTBc zHC5*PsCdC)u=3tsy-~cxls97FYF~y(G1Ji@EfI z>lG(N3%db%M;|6tl%b!9X%t&G|CRGqq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{>yho zkmP=<3Ot-7!XUf?bq7NN%8}YMU0ECAJVyQ!f<5<`*L)dgc8W4aX%xvv`iPuod6$3NUdyzwT z(}U=rFz)QMAwt)=g_S>iP~VvjAK=5OY}HED7Dn?Q$@XQlJrpXDI-Xy zR?Zc^Q$d{K-{Om+$mgN9c^G6xarEO|BSdQ&te?G+>4I@}$%vOeHzr9SlNM2}6ngBK zuRLBvq#;=)M4xDD#CVI8-daGtPHoo>ckc_4hJ?2={jD#Kw}a;ATs7PQE|e+uhB)0~ zWqjA5-ma7sn;5%`w&ekTeD52hxnhsGNl?f)o$pCmEzs*O`17~bFR+$*6KMkUq-$r^ s2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + GPUcache + + + get + + drop + + + + + + + + + + + + + + + NETcache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RAMcache + + + + + + + + + + + + + + + + + + + + + + + + + + get + + drop + + DISKcache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + get + + drop + + + Controller + + + + + these tokenscan be locked + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + priority + + + + + + + + + + + + + + + + + Thread + + + + setPriority + lock + unlock + + + + addToken + updatePriority + flush + + diff --git a/wrap/gcache/docs/img/overflow.png b/wrap/gcache/docs/img/overflow.png new file mode 100644 index 0000000000000000000000000000000000000000..4aa02b3ddfdfd7aecbecc5e6f56d859e94ed2bb1 GIT binary patch literal 8526 zcmb_?c{r5s|L-iuSh5r$vQ#9yjO=TlEMsh;C~KvWoyZw4Dvd9LfZ-_QGgz22|a{XDU?Hsj$Ezp&l{6+|Cr}K9O(mXL1tc#~Y z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|>+buU(b`l=Bn?IMpz&*da?BUSGRI8$Eq&|(X>EmeQ) z-;k^R{fl4^!TQtVUp6y(GA6(0_1&}{yB@oHqF}n?I)QFee%KrAuwvH{75FH}P<^uY zkqP@<^OL2SBW}*dvN3!=E(ZcTQp~vvQ!nIuA|7N${;34XbJyWPhS09zinBvrOOGZU zEf0NC_MhD>1-%sT-#-Yon1B95lf&Wq<@Amwuz%_6()lQ#*GvWZt3&q{Hz9TLN3nm4 zJaK+_q4e8f^9U9A^v%x-@B@o`snT!lUjNZy%~2W;UZn6uRA$nA(e}=tC!w=j9~`y- zSG5^ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Capacity + Size + + + Load + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unload + + + + + + + + + + + + + + + + + + Load if higher priority + + Cache overflow management + + diff --git a/wrap/gcache/docs/img/shadow.png b/wrap/gcache/docs/img/shadow.png new file mode 100644 index 0000000000000000000000000000000000000000..a27fb03dd07b02e38c317cd45cbfcda7bb33aa8b GIT binary patch literal 248 zcmeAS@N?(olHy`uVBq!ia0y~yU`_+Fxj5K>N&PEETsMOQN zF{EP7+v^Jj4=4z@1TNtEwVuzHF($@EO)1ay-t5T2cW>TTzhAYg>|ADO>HEs_meN37 z_t$QXdjI#H#N)4WFWng#82_4{ORoR` literal 0 HcmV?d00001 diff --git a/wrap/gcache/docs/js/prettify.css b/wrap/gcache/docs/js/prettify.css new file mode 100644 index 00000000..577ab069 --- /dev/null +++ b/wrap/gcache/docs/js/prettify.css @@ -0,0 +1,16 @@ +.str,.atv{color:#080} +.kwd,.tag{color:#008} +.com{color:#800} +.typ,.atn,.dec{color:#606} +.lit{color:#066} +.pun{color:#660} +.pln{color:#000} +pre.prettyprint{padding:2px;border:1px solid #888} +@media print{.str{color:#060} +.kwd,.tag{color:#006;font-weight:bold} +.com{color:#600;font-style:italic} +.typ{font-weight:bold} +.lit{color:#044} +.pun{color:#440} +.atn,.typ{color:#404} +.atv{color:#060}} diff --git a/wrap/gcache/docs/js/prettify.js b/wrap/gcache/docs/js/prettify.js new file mode 100644 index 00000000..29b5e738 --- /dev/null +++ b/wrap/gcache/docs/js/prettify.js @@ -0,0 +1,46 @@ +window.PR_SHOULD_USE_CONTINUATION=true,window.PR_TAB_WIDTH=8,window.PR_normalizedHtml=window.PR=window.prettyPrintOne=window.prettyPrint=void +0,window._pr_isIE6=function(){var a=navigator&&navigator.userAgent&&navigator.userAgent.match(/\bMSIE ([678])\./);return a=a?+a[1]:false,window._pr_isIE6=function(){return a},a},(function(){var +a=true,b=null,c='break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof ',d=c+'alignof align_union asm axiom bool '+'concept concept_map const_cast constexpr decltype '+'dynamic_cast explicit export friend inline late_check '+'mutable namespace nullptr reinterpret_cast static_assert static_cast '+'template typeid typename using virtual wchar_t where ',e=c+'abstract boolean byte extends final finally implements import '+'instanceof null native package strictfp super synchronized throws '+'transient ',f=e+'as base by checked decimal delegate descending event '+'fixed foreach from group implicit in interface internal into is lock '+'object out override orderby params partial readonly ref sbyte sealed '+'stackalloc string select uint ulong unchecked unsafe ushort var ',g=c+'debugger eval export function get null set undefined var with '+'Infinity NaN ',h='caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END ',i='break continue do else for if return while and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None ',j='break continue do else for if return while alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END ',k='break continue do else for if return while case done elif esac eval fi function in local set then until ',l=d+f+g+h+i+j+k,m=(function(){var +a=['!','!=','!==','#','%','%=','&','&&','&&=','&=','(','*','*=','+=',',','-=','->','/','/=',':','::',';','<','<<','<<=','<=','=','==','===','>','>=','>>','>>=','>>>','>>>=','?','@','[','^','^=','^^','^^=','{','|','|=','||','||=','~','break','case','continue','delete','do','else','finally','instanceof','return','throw','try','typeof'],b='(?:^^|[+-]',c;for(c=0;c:&a-z])/g,'\\$1');return b+=')\\s*',b})(),n=/&/g,o=//g,q=/\"/g,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F;function +G(a){return a.replace(n,'&').replace(o,'<').replace(p,'>').replace(q,'"')}function +H(a){return a.replace(n,'&').replace(o,'<').replace(p,'>')}C=/</g,B=/>/g,w=/'/g,E=/"/g,v=/&/g,D=/ /g;function +I(a){var b=a.indexOf('&'),c,d,e,f;if(b<0)return a;for(--b;(b=a.indexOf('&#',b+1))>=0;)d=a.indexOf(';',b),d>=0&&(e=a.substring(b+3,d),f=10,e&&e.charAt(0)==='x'&&(e=e.substring(1),f=16),c=parseInt(e,f),isNaN(c)||(a=a.substring(0,b)+String.fromCharCode(c)+a.substring(d+1)));return a.replace(C,'<').replace(B,'>').replace(w,'\'').replace(E,'\"').replace(D,' ').replace(v,'&')}function +J(a){return'XMP'===a.tagName}u=/[\r\n]/g;function K(c,d){var e;return'PRE'===c.tagName?a:u.test(d)?(e='',c.currentStyle?(e=c.currentStyle.whiteSpace):window.getComputedStyle&&(e=window.getComputedStyle(c,b).whiteSpace),!e||e==='pre'):a}function +L(a,b){var c,d,e,f;switch(a.nodeType){case 1:f=a.tagName.toLowerCase(),b.push('<',f);for(e=0;e');for(d=a.firstChild;d;d=d.nextSibling)L(d,b);(a.firstChild||!/^(?:br|link|img)$/.test(f))&&b.push('');break;case +2:b.push(a.name.toLowerCase(),'=\"',G(a.value),'\"');break;case 3:case 4:b.push(H(a.nodeValue))}}function +M(b){var c=0,d=false,e=false,f,g,h,i;for(f=0,g=b.length;f122||(g<65||q>90||d.push([Math.max(65,q)|32,Math.min(g,90)|32]),g<97||q>122||d.push([Math.max(97,q)&-33,Math.min(g,122)&-33]))}d.sort(function(a,b){return a[0]-b[0]||b[1]-a[1]}),f=[],i=[NaN,NaN];for(h=0;hp[0]&&(p[1]+1>p[0]&&n.push('-'),n.push(k(p[1])));return n.push(']'),n.join('')}function +m(a){var b=a.source.match(new RegExp('(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)','g')),e=b.length,f=[],g,h,i,j,k;for(j=0,i=0;j=2&&g==='['?(b[j]=l(k)):g!=='\\'&&(b[j]=k.replace(/[a-zA-Z]/g,function(a){var +b=a.charCodeAt(0);return'['+String.fromCharCode(b&-33,b|32)+']'}));return b.join('')}i=[];for(f=0,g=b.length;f\n')),r=!/)[\r\n]+/g,'$1').replace(/(?:[\r\n]+[ \t]*)+/g,' ')),d;e=[];for(c=a.firstChild;c;c=c.nextSibling)L(c,e);return e.join('')}function +O(a){var c=0;return function(d){var e=b,f=0,g,h,i,j;for(h=0,i=d.length;h=0;j-=' '.length)e.push(' '.substring(0,j));f=h+1;break;case'\n':c=0;break;default:++c}}return e?(e.push(d.substring(f)),e.join('')):d}}z=new +RegExp('[^<]+|||\"\']|\'[^\']*\'|\"[^\"]*\")*>|<','g'),A=/^<\!--/,y=/^1&&j.charAt(0)==='<'){if(A.test(j))continue;if(y.test(j))c.push(j.substring(9,j.length-3)),d+=j.length-12;else +if(x.test(j))c.push('\n'),++d;else if(j.indexOf('nocode')>=0&&Q(j)){l=(j.match(F))[2],f=1;for(h=g+1;h=0;)d[o.charAt(i)]=m;n=m[1],k=''+n,g.hasOwnProperty(k)||(f.push(n),g[k]=b)}f.push(/[\0-\uffff]/),h=M(f)})(),f=c.length,g=/\S/,e=function(a){var +b=a.source,g=a.basePos,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;i=[g,'pln'],s=0,y=b.match(h)||[],u={};for(v=0,q=y.length;v=5&&'lang-'===t.substring(0,5),n&&!(p&&typeof +p[1]==='string')&&(n=false,t='src'),n||(u[w]=t)}x=s,s+=w.length,n?(j=p[1],l=w.indexOf(j),k=l+j.length,p[2]&&(k=w.length-p[2].length,l=k-j.length),o=t.substring(5),R(g+x,w.substring(0,l),e,i),R(g+x+l,j,W(o,j),i),R(g+x+k,w.substring(k),e,i)):i.push(g+x,t)}a.decorations=i},e}function +T(a){var c=[],d=[],e,f;return a.tripleQuotedStrings?c.push(['str',/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,b,'\'\"']):a.multiLineStrings?c.push(['str',/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,b,'\'\"`']):c.push(['str',/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,b,'\"\'']),a.verbatimStrings&&d.push(['str',/^@\"(?:[^\"]|\"\")*(?:\"|$)/,b]),a.hashComments&&(a.cStyleComments?(c.push(['com',/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,b,'#']),d.push(['str',/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,b])):c.push(['com',/^#[^\r\n]*/,b,'#'])),a.cStyleComments&&(d.push(['com',/^\/\/[^\r\n]*/,b]),d.push(['com',/^\/\*[\s\S]*?(?:\*\/|$)/,b])),a.regexLiterals&&(e='/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/',d.push(['lang-regex',new +RegExp('^'+m+'('+e+')')])),f=a.keywords.replace(/^\s+|\s+$/g,''),f.length&&d.push(['kwd',new +RegExp('^(?:'+f.replace(/\s+/g,'|')+')\\b'),b]),c.push(['pln',/^\s+/,b,' \r\n \xa0']),d.push(['lit',/^@[a-z_$][a-z_$@0-9]*/i,b],['typ',/^@?[A-Z]+[a-z][A-Za-z_$@0-9]*/,b],['pln',/^[a-z_$][a-z_$@0-9]*/i,b],['lit',new +RegExp('^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*','i'),b,'0123456789'],['pun',/^.[^\s\w\.$@\'\"\`\/\#]*/,b]),S(c,d)}s=T({keywords:l,hashComments:a,cStyleComments:a,multiLineStrings:a,regexLiterals:a});function +U(c){var d=c.source,e=c.extractedTags,f=c.decorations,g=[],h=0,i=b,j=b,k=0,l=0,m=O(window.PR_TAB_WIDTH),n=/([\r\n ]) /g,o=/(^| ) /gm,p=/\r\n?|\n/g,q=/[ \r\n]$/,r=a,s;function +t(a){var c,e;a>h&&(i&&i!==j&&(g.push(''),i=b),!i&&j&&(i=j,g.push('')),c=H(m(d.substring(h,a))).replace(r?o:n,'$1 '),r=q.test(c),e=window._pr_isIE6()?' 
':'
',g.push(c.replace(p,e)),h=a)}while(a){k'),i=b),g.push(e[k+1]),k+=2;else +if(l'),c.prettyPrintedHtml=g.join('')}t={};function +V(a,b){var c,d;for(d=b.length;--d>=0;)c=b[d],t.hasOwnProperty(c)?'console'in window&&console.warn('cannot override language handler %s',c):(t[c]=a)}function +W(a,b){return a&&t.hasOwnProperty(a)||(a=/^\s*]*(?:>|$)/],['com',/^<\!--[\s\S]*?(?:-\->|$)/],['lang-',/^<\?([\s\S]+?)(?:\?>|$)/],['lang-',/^<%([\s\S]+?)(?:%>|$)/],['pun',/^(?:<[%?]|[%?]>)/],['lang-',/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],['lang-js',/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],['lang-css',/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],['lang-in.tag',/^(<\/?[a-z][^<>]*>)/i]]),['default-markup','htm','html','mxml','xhtml','xml','xsl']),V(S([['pln',/^[\s]+/,b,' \r\n'],['atv',/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,b,'\"\'']],[['tag',/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],['atn',/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],['lang-uq.val',/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],['pun',/^[=<>\/]+/],['lang-js',/^on\w+\s*=\s*\"([^\"]+)\"/i],['lang-js',/^on\w+\s*=\s*\'([^\']+)\'/i],['lang-js',/^on\w+\s*=\s*([^\"\'>\s]+)/i],['lang-css',/^style\s*=\s*\"([^\"]+)\"/i],['lang-css',/^style\s*=\s*\'([^\']+)\'/i],['lang-css',/^style\s*=\s*([^\"\'>\s]+)/i]]),['in.tag']),V(S([],[['atv',/^[\s\S]+/]]),['uq.val']),V(T({keywords:d,hashComments:a,cStyleComments:a}),['c','cc','cpp','cxx','cyc','m']),V(T({keywords:'null true false'}),['json']),V(T({keywords:f,hashComments:a,cStyleComments:a,verbatimStrings:a}),['cs']),V(T({keywords:e,cStyleComments:a}),['java']),V(T({keywords:k,hashComments:a,multiLineStrings:a}),['bsh','csh','sh']),V(T({keywords:i,hashComments:a,multiLineStrings:a,tripleQuotedStrings:a}),['cv','py']),V(T({keywords:h,hashComments:a,multiLineStrings:a,regexLiterals:a}),['perl','pl','pm']),V(T({keywords:j,hashComments:a,multiLineStrings:a,regexLiterals:a}),['rb']),V(T({keywords:g,cStyleComments:a,regexLiterals:a}),['js']),V(S([],[['str',/^[\s\S]+/]]),['regex']);function +X(a){var b=a.sourceCodeHtml,c=a.langExtension,d,e;a.prettyPrintedHtml=b;try{e=P(b),d=e.source,a.source=d,a.basePos=0,a.extractedTags=e.tags,W(c,d)(a),U(a)}catch(f){'console'in +window&&(console.log(f),console.trace())}}function Y(a,b){var c={sourceCodeHtml:a,langExtension:b};return X(c),c.prettyPrintedHtml}function +Z(c){var d=window._pr_isIE6(),e=d===6?'\r\n':'\r',f=[document.getElementsByTagName('pre'),document.getElementsByTagName('code'),document.getElementsByTagName('xmp')],g=[],h,i,j,k,l,m;for(i=0;i=0){f=e.className.match(/\blang-(\w+)\b/),f&&(f=f[1]),i=false;for(j=e.parentNode;j;j=j.parentNode)if((j.tagName==='pre'||j.tagName==='code'||j.tagName==='xmp')&&j.className&&j.className.indexOf('prettyprint')>=0){i=a;break}i||(d=N(e),d=d.replace(/(?:\r\n?|\n)$/,''),m={sourceCodeHtml:d,langExtension:f,sourceNode:e},X(m),o())}}k=0;)i=j[h],i.parentNode.replaceChild(document.createTextNode(e),i)}}n()}window.PR_normalizedHtml=L,window.prettyPrintOne=Y,window.prettyPrint=Z,window.PR={combinePrefixPatterns:M,createSimpleLexer:S,registerLangHandler:V,sourceDecorator:T,PR_ATTRIB_NAME:'atn',PR_ATTRIB_VALUE:'atv',PR_COMMENT:'com',PR_DECLARATION:'dec',PR_KEYWORD:'kwd',PR_LITERAL:'lit',PR_NOCODE:'nocode',PR_PLAIN:'pln',PR_PUNCTUATION:'pun',PR_SOURCE:'src',PR_STRING:'str',PR_TAG:'tag',PR_TYPE:'typ'}})() \ No newline at end of file diff --git a/wrap/gcache/docs/readme.html b/wrap/gcache/docs/readme.html new file mode 100644 index 00000000..51329e36 --- /dev/null +++ b/wrap/gcache/docs/readme.html @@ -0,0 +1,175 @@ + + + + + + + + + +

+

Generic cache system

+

Overview

+

+GCache is a generic multilevel priority based cache system which is useful for allocating resources +across RAM, GPU, disk, network etc.

+ +

Class documentation created using Doxyigen is available in the docs/html/ directory

+

A quick example might better explain the concept; see a more detailed example +for source code and in depth comments. we want to implement a priority cache for our +database of 10000 images. We will use 2 levels of caching, RAM and GPU while the images will be stored on disk.

+ +
    +
  • Each image is managed through a token which holds the pointer to the data and is used to assign a priority +to the image.
  • +
  • We subclass Cache to our RamCache and GpuCache and define function for loading from disk and +uploading the texture to the GPU
  • +
  • We can set priorities for the images according to our strategy.
  • +
  • Before rendering the image we lock the token and unlock it when done
  • +
+ + + +

Design

+

GCache is designed for very frequent priority updates where the majority of +resurces are involved. All the system is designed to minimize the computations +required to change priorities and sorting them.

+ +
+ +
+ +

Token

+

Each resource is managed through a pointer to a subclass of Token<Priority>. +Token pointers are transferred between caches but never created or deleted by the cache system. +The user is responsible for storage of the tokens.

+

+Adding tokens to the cache is done using the function Controller::addToken(Token *); +the tokens can be scheduled for removal using the function Token::remove() or be dropped +when the max number of tokens in the controller is reached +as set by Controller::setMaxTokens(int). Use Token::isInCache() to check +for actual removal.

+ + +

Priority

+

The Token class is templated over a typename Priority which usually +it is a floating point number, but it can be anything sortable through Priority::operator<(const Priority &). +The goal of the cache system is to juggle resources around so to have the highest priority tokens in the higher cache.

+ +

Use function Token::setPriority(Priority) to set tokens priority; it does not require mutexing and it is +therefore vert fast. The change will take effect only upon a call to Controller::updatePriorities().

+ +

Each cache holds a double heap of Tokens (see architecture picture), 'sorted' accordingly to priority. A double heap is a data structure with similar +properties to a heap but which allows quick extraction of both min and max element.

+ +

Priorities are sorted with a lazy approach, only when needed (usually when checking if a transfer should be performed. This +results in the higher, smaller caches being sorted more frequently than the larger lower caches.

+ + +

Caches

+ +

The user needs to subclass the Cache class and override the virtual functions get(Token *), +drop(Token *) and size(Token *). Each cache runs its own thread. Resource transfers (reading a file content, uploading a texture, etc) + are performed in that thread using blocking calls.

+ +

Cache are added to the controller using the function Controller::addCache(Cache *)

+ + +

The GCache employs a nested cache model: if a resource is present in a cache is also present in all the lower ones, + and thus each cache should have more capacity than the lower one. For sake of simplicity and performances each cache +is allowed to overflow its capacity by at most one resource. (see picture)

+ +
+ +
+ +

Locking

+

Resources must be locked before use, to prevent cache threads to unload them while in use. An object can be locked +only if already loaded in the highest cache, otherwise the lock() function will return false.

+

Unlock allows the resource to be eventually dropped from the cache. Locks are recursive which means Tokens keep track +of how many time lock() have been called and release the resource only after unlock() +is called that many times.

+

Loking and unlocking costs basically zero (we are using QAtomicInt).

+ + +

Minimal example

+

This is a minimal pseudo-code example, just to quickly cover the basis. For a real example, involving +also sending resources to the GPU using a share context check the example/my_widget.h file. +

+ +
+class MyToken: public Token<float> {
+ public:
+  MyData *data;
+  GLUint texture;
+};
+
+class RamCache: public Cache<MyToken> {
+ public:
+  //return size of object. return -1 on error
+  int get(MyToken *token)  { fread(someting into something); return 1; } 
+ //return size of objecy, cannot fail
+  int drop(MyToken *token) { delete memory; return 1; }
+  int size(MyToken *token) { return 1; }
+};
+
+class GpuCache: public Cache<MyToken> {
+ public:
+  int get(MyToken *token) { glCreate + glTexture;return 1; }
+  int drop(MyToken *token) { glDelete; return 1; }
+  int size(MyToken *token) { return 1; }
+};
+
+//generate tokens
+vector<MyToken> tokens;
+for(int i = 0; i < 10000; i++)
+tokens.push_back(MyToken(i));
+
+//create ram and gpu caches
+RamCache ram;
+ram.setCapacity(5000);
+GpuCache gpu;
+gpu.setCapacity(1000);
+
+//create controller and add caches
+Controller<MyToken> controller;
+controller.addCache(&ram);
+controller.addCache(&gpu);
+
+//tell controller about tokens and start
+for(int i = 0; i < tokens.size(); i++) {
+  tokens[i].setPriority(rand()/((double)RAND_MAX));
+  controller.addToken(&tokens[i]);
+}
+
+
+controller.start();
+
+//change priorities
+for(int i = 0; i < tokens.size(); i++)
+  tokens[i].setPriority(rand());
+controller.updatePriorities();
+
+//lock and use the tokens
+for(int i = 0; i < tokens.size(); i++) {
+  bool success = tokens[i].lock();
+  if(success) {
+  //use the token as you see fit
+    tokens[i].unlock();
+  }
+}
+
+ + +
+ + diff --git a/wrap/gcache/door.h b/wrap/gcache/door.h new file mode 100644 index 00000000..df8d08c7 --- /dev/null +++ b/wrap/gcache/door.h @@ -0,0 +1,101 @@ +/**************************************************************************** +* GCache * +* Author: Federico Ponchio * +* * +* Copyright(C) 2011 * +* Visual Computing Lab * +* ISTI - Italian National Research Council * +* * +* All rights reserved. * +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * +* for more details. * +* * +****************************************************************************/ + + +#ifndef CACHE_DOOR_H +#define CACHE_DOOR_H + + + + +/* +//a door needs to be open for the thread to continue, +//if it is open the thread enter and closes the door +//this mess is to avoid [if(!open.available()) open.release(1)] +#include +class QDoor { + private: + QSemaphore _open; + QSemaphore _close; + public: + QDoor(): _open(0), _close(1) {} //this means closed + void open() { + if(_close.tryAcquire(1)) //check it is not open + _open.release(1); //open + } + void close() { + if(_open.tryAcquire(1)) //check not already cloed + _close.release(1); + } + void enter(bool close = false) { + _open.acquire(1); + if(close) + _close.release(1); //and close door behind + else + _open.release(1); //and leave door opened + } + bool isOpen() { return _open.available() == 1; } +}; + +*/ +#include +#include + +/** + A wait condition class that works as a door. + Should check if the semaphore version is faster. +*/ + +class QDoor { + public: + + QDoor(void) : doorOpen(false) {} + + ///opens the door. Threads trying to enter will be awakened + void open(void) { + this->m.lock(); + this->doorOpen = true; + this->m.unlock(); + this->c.wakeAll(); + } + + ///attempt to enter the door. if the door is closed the thread will wait until the door is opened. + /** if close is true, the door will be closed after the thread is awakened, this allows to + have only one thread entering the door each time open() is called */ + void enter(bool close = false) { + this->m.lock(); + while (!this->doorOpen) + this->c.wait(&(this->m)); + + if(close) + this->doorOpen = false; + this->m.unlock(); + } + private: + QMutex m; + QWaitCondition c; + bool doorOpen; +}; + + +#endif diff --git a/wrap/gcache/provider.h b/wrap/gcache/provider.h new file mode 100644 index 00000000..f51b68b6 --- /dev/null +++ b/wrap/gcache/provider.h @@ -0,0 +1,87 @@ +#ifndef GCACHE_PROVIDER_H +#define GCACHE_PROVIDER_H + + +#include +#include "dheap.h" +#include "door.h" + +#include "token.h" + +/* this cache system enforce the rule that the items in a cache are always in all the cache below */ +/* two mechanism to remove tokens from the cache: + 1) set token count to something low + 2) set maximum number of tokens in the provider +*/ + +/** Base class for Cache and last cache in the GCache system. + You should never interact with this class. +*/ + +template +class Provider: public QThread { + public: + ///holds the resources in this cache but not in the cache above + PtrDHeap heap; + ///tokens above this number will be scheduled for deletion + int max_tokens; + ///signals we need to rebuild heap. + bool heap_dirty; + ///lock this before manipulating heap. + QMutex heap_lock; + ///used to sincronize priorities update + QMutex priority_lock; + ///signals (to next cache!) priorities have changed or something is available + QDoor check_queue; + + Provider(): max_tokens(-1), heap_dirty(false) {} + virtual ~Provider() {} + + /// [should be protected, do not use] + void pushPriorities() { + QMutexLocker locker(&priority_lock); + for(int i = 0; i < heap.size(); i++) + heap[i].pushPriority(); + heap_dirty = true; + check_queue.open(); + } + /// assumes heap lock is locked, runs in cache thread [should be protected, do not use] + void rebuild() { + if(!this->heap_dirty) return; + + { + QMutexLocker locker(&priority_lock); + for(int i = 0; i < this->heap.size(); i++) + this->heap[i].pullPriority(); + this->heap_dirty = false; + } + this->heap.rebuild(); + + //remove OUTSIDE tokens from bottom of heap + if(max_tokens != -1) { + while(this->heap.size() > max_tokens) { + Token &t = this->heap.min(); + t.count = Token::OUTSIDE; + this->heap.popMin(); + } + } + } + + ///ensure no locked item are to be removed [should be protected, do not use] + template void flush(FUNCTOR functor) { + int count = 0; + QMutexLocker locker(&(this->heap_lock)); + for(int k = 0; k < this->heap.size(); k++) { + Token *token = &this->heap[k]; + if(functor(token)) { //drop it + token->count = Token::OUTSIDE; + } else + this->heap.at(count++) = token; + } + this->heap.resize(count); + this->heap_dirty = true; + } +}; + + +#endif diff --git a/wrap/gcache/token.h b/wrap/gcache/token.h new file mode 100644 index 00000000..22febdc6 --- /dev/null +++ b/wrap/gcache/token.h @@ -0,0 +1,91 @@ +#ifndef GCACHE_TOKEN_H +#define GCACHE_TOKEN_H + +#include + +/* QAtomic int count keep trak of token status: + >0: locked (possibly multiple times) + 0: data ready in last cache + -1: not in last cache + -2: to removed from all caches + -3: out of caches + */ + +/** Holds the resources to be cached. + The Priority template argument can simply be a floating point number + or something more complex, (frame and error in pixel); the only + requirement is the existence of a < comparison operator */ + +template +class Token { + public: + ///Resource loading status + /*** - LOCKED: resource in the higher cache and locked + - READY: resource in the higher cache + - CACHE: resource in some cache (not the highest) + - REMOVE: resource in some cache and scheduled for removal + - OUTSIDE: resource not in the cache system */ + enum Status { LOCKED = 1, READY = 0, CACHE = -1, REMOVE = -2, OUTSIDE = -3 }; + ///Do not access these members directly. Will be moved to private shortly. + ///used by various cache threads to sort objects [do not use, should be private] + Priority priority; + ///set in the main thread [do not use, should be private] + Priority new_priority; + ///swap space used in updatePriorities [do not use, should be private] + Priority tmp_priority; + ///reference count of locked items [do not use, should be private] + QAtomicInt count; + + public: + Token(): count(OUTSIDE) {} + + ///the new priority will be effective only after a call to Controller::updatePriorities() + void setPriority(const Priority &p) { + new_priority = p; + } + Priority getPriority() { + return new_priority; + } + ///return false if resource not in highest query. remember to unlock when done + bool lock() { + if(count.fetchAndAddAcquire(1) >= 0) return true; + count.deref(); + return false; + } + ///assumes it was locked first and 1 unlock for each lock. + bool unlock() { + return count.deref(); + } + + ///can't be removed if locked and will return false + bool remove() { + count.testAndSetOrdered(READY, REMOVE); + count.testAndSetOrdered(CACHE, REMOVE); + return count <= REMOVE; //might have become OUSIDE in the meanwhile + } + + bool isLocked() { return count > 0; } + bool isInCache() { return count != OUTSIDE; } //careful, can be used only when provider thread is locked. + + ///copy priority to swap space [do not use, should be private] + void pushPriority() { + tmp_priority = new_priority; + } + ///copy priority from swap space [do not use, should be private] + void pullPriority() { + priority = tmp_priority; + } + + bool operator<(const Token &a) const { + if(count == a.count) + return priority < a.priority; + return count < a.count; + } + bool operator>(const Token &a) const { + if(count == a.count) + return priority > a.priority; + return count > a.count; + } +}; + +#endif // GCACHE_H