1 
2 /* Web Polygraph       http://www.web-polygraph.org/
3  * Copyright 2003-2011 The Measurement Factory
4  * Licensed under the Apache License, Version 2.0 */
5 
6 #ifndef POLYGRAPH__LOGANALYZERS_TMSZHISTFIG_H
7 #define POLYGRAPH__LOGANALYZERS_TMSZHISTFIG_H
8 
9 #include "loganalyzers/HistogramFigure.h"
10 
11 class TmSzHistStat;
12 class Stex;
13 
14 // creates response time or response size distribution figure
15 // based on phase stats
16 class TmSzHistFig: public HistogramFigure {
17 	public:
18 		TmSzHistFig(const String &aUnit);
19 		virtual ~TmSzHistFig();
20 
21 		void stats(const Stex *aStex, const PhaseInfo *phase);
22 
23 	protected:
24 		virtual const Histogram *extractHist(const Stex *stex, const PhaseInfo &phase) const = 0;
25 
26 	protected:
27 		String theUnit;
28 		Stex *theAuth;
29 };
30 
31 #endif
32