BoxcarProcess.hh
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* BoxcarProcess.hh
*
* Created on: Dec 12, 2012
* Author: f.casimir
*/
#ifndef BoxcarProcess_HH_
#define BoxcarProcess_HH_
#include "SingleParamProcess.hh"
namespace AMDA {
namespace Parameters {
/**
* @class BoxcarProcess
* @brief mean Boxcar process.
* @details This class represents the process that must computed the mean boxcar of, data. The data type is an unknown ParamData.
* To do this it implements the Process interface and delegates the compute to an output ParamData to a Boxcar class.
* This class is builded from the BoxcarCreator visitor.
*/
class BoxcarProcess : public AMDA::Parameters::SingleParamProcess_CRTP<BoxcarProcess> {
public:
/**
* @brief Constructor.
*/
BoxcarProcess(Parameter ¶meter);
/**
* @brief Copy Constructor.
*/
BoxcarProcess(const BoxcarProcess& pProcess, Parameter &pParameter) ;
/**
* @brief Destructor.
*/
~BoxcarProcess();
// Overload DataWriter methods
/**
* @overload DataWriter::init()
*/
TimeStamp init();
private:
/**
* @brief The time ox mean boxcar.
*/
double _boxcarTime;
};
} /* namespace Parameters */
} /* namespace AMDA */
#endif /* BoxcarProcess_HH_ */