/* */ #ifndef _D_CONSOLE_STAT_CALC_H_ #define _D_CONSOLE_STAT_CALC_H_ #include "StatCalc.h" #include "TimeA2.h" namespace aria2 { class ConsoleStatCalc:public StatCalc { private: Time _cp; time_t _summaryInterval; time_t _summaryIntervalCount; public: ConsoleStatCalc(time_t summaryInterval); virtual ~ConsoleStatCalc() {} virtual void calculateStat(const SharedHandle& requestGroupMan, const SharedHandle& fileAllocationMan, const SharedHandle& checkIntegrityMan); }; typedef SharedHandle ConsoleStatCalcHandle; } // namespace aria2 #endif // _D_CONSOLE_STAT_CALC_H_