fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 kaflthitrate.h - description 00003 ------------------- 00004 begin : Mon Jul 18 2005 00005 copyright : (C) 2005 by 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KAFLTHITRATE_H 00019 #define KAFLTHITRATE_H 00020 00021 00030 class KaFltHitrate { 00031 public: 00032 KaFltHitrate(); 00033 ~KaFltHitrate(); 00034 00035 unsigned long getHitrate(unsigned long data); 00036 00037 bool isOverflow(unsigned long data); 00038 00039 int getLength(unsigned long data); 00040 00041 int getAge(unsigned long data); 00042 00043 }; 00044 00045 00046 #endif