RecoSim  1.0
 All Classes Files Functions Variables Enumerations
window_function.h
Go to the documentation of this file.
1 
21 #ifndef WINDOW_FUNCTION_H
22 #define WINDOW_FUNCTION_H
23 
24 #include <list>
25 #include <systemc.h>
26 
27 using namespace std;
28 
30 
31 private:
32  list<sc_time> occupationTimeOverSamplingPeriods;
33 
34  static sc_time WINDOW_FUNCTION_PERIOD;
35  static sc_time ANALOG_TRACE_SAMPLING_PERIOD;
36 
37 public:
38  WindowFunction() {};
39 
40  void setNewValue(sc_time);
41  double getInstantOccupationRate(void);
42 
43  static void setWindowFunctionPeriod(sc_time);
44  static void setAnalogTraceSamplingPeriod(sc_time);
45 };
46 
47 #endif
Definition: window_function.h:29