00001 /*************************************************************************** 00002 definitions.h - description 00003 ------------------- 00004 begin : Mon Mai 12 2003 00005 copyright : (C) 2003 by Dirk Henrici 00006 email : henrici@informatik.uni-kl.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of license found in "COPYING". * 00013 * * 00014 ***************************************************************************/ 00015 00016 #ifndef DEFINTIONS_H 00017 #define DEFINTIONS_H 00018 00019 using namespace std; 00020 #include <iostream> 00021 #include <cstdlib> 00022 #include <cstring> 00023 #include <sstream> 00024 00025 //Statische Konfiguration für "frame_memory" 00026 00028 #define CFG_MemPoolStdSize 512*1024 00029 00030 #define CFG_STLShMemIdxAlloc 5000 //beliebige Zahl, die jedoch in eigenen Programmen nicht verwendet werden darf 00031 00032 00034 enum tERROR { 00035 ERR_OK, 00036 ERR_Mutex, 00037 ERR_NotImplemented 00038 }; 00039 00040 string errcode2str(tERROR err); 00041 00042 #endif