Blame view

src/ExternLib/Merge/MergeProcess.hh 1.23 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
 * MergeProcess.hh
 *
 *  Created on: Dec 12, 2012
 *      Author: f.casimir
 */

#ifndef MergeProcess_HH_
#define MergeProcess_HH_

#include "MultiParamProcess.hh"

namespace AMDA {
namespace Merge {

/**
 * @class MergeProcess
 * @brief Intercalated to the OutputParamData all the InputParamData.
 */
class MergeProcess : public AMDA::Parameters::MultiParamProcess_CRTP<MergeProcess> {
public:
	/**
	 * @brief Constructor.
	 */
	MergeProcess(AMDA::Parameters::Parameter &parameter);
	/**
	 * @brief Copy Constructor.
	 */
	MergeProcess(const MergeProcess& pProcess, AMDA::Parameters::Parameter &pParameter) ;
	/**
	 * @brief Destructor.
	 */
	~MergeProcess();

	// Overload Process methods

	/**
	 * @overload Process::establishConnection()
	 */
	void establishConnection();
	/**
	 * @overload Process::init()
	 */
	AMDA::Parameters::TimeStamp init();

protected:

	/**
	 * @brief If the expression is not a Single parameter,
	 * it must ask the creation of a parameter responsible of the formula calculation.
	 */
	void parse();

private:
	/**
	 * @brief list of param name intput
	 * @detail this list must be ordered
	 */
	std::vector<std::string> _orderParamNameList;
};

} /* namespace Merge */
} /* namespace AMDA */
#endif /* MergeProcess_HH_ */