Blame view

src/ExternLib/TimeShifted/ProcessTimeShifted.hh 1.14 KB
fbe3c2bb   Benjamin Renard   First commit
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
/*
 * ProcessTimeShifted.hh
 *
 *  Created on: Dec 12, 2012
 *      Author: f.casimir
 */

#ifndef PROCESSTIMESHIFTED_HH_
#define PROCESSTIMESHIFTED_HH_

#include "SingleParamProcess.hh"

namespace AMDA {
namespace Parameters {

/**
 * @class ProcessTimeShifted
 * @brief Data shift process.
 * @details This class represents the process that must shift the data type of an unknown ParamData, of a forwardly or rearwardly time.
 *  To do this it implements the Process interface and delegates the data shift to an output ParamData to a TimeShifted class.
 * This class is builded from the TimeShiftedCreator visitor.
 */
class ProcessTimeShifted : public AMDA::Parameters::SingleParamProcess_CRTP<ProcessTimeShifted> {
public:
	/**
	 * @brief Constructor.
	 */
	ProcessTimeShifted(Parameter &parameter);
	/**
	 * @brief Copy Constructor.
	 */
	ProcessTimeShifted(const ProcessTimeShifted& pProcess, Parameter &pParameter) ;
	/**
	 * @brief Destructor.
	 */
	~ProcessTimeShifted();

	// Overload Process methods

	/**
	 * @overload Process::init()
	 */
	TimeStamp init();
};

} /* namespace Parameters */
} /* namespace AMDA */
#endif /* PROCESSTIMESHIFTED_HH_ */