Blame view

src/ExternLib/sum_into_table_indexes/ProcessSumIntoTableIndexes.hh 1.2 KB
09ec73e7   Benjamin Renard   Add process sum_i...
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
/*
 * ProcessSumIntoTableIndexes.hh
 *
 *  Created on: Mar 26, 2019
 *      Author: AKKA IS
 */

#ifndef PROCESSSUMINTOTABLEINDEXES_HH_
#define PROCESSSUMINTOTABLEINDEXES_HH_

#include "MultiParamProcess.hh"
#include "ParamInfo.hh"

namespace AMDA {
namespace Parameters {

/**
 * @class ProcessSumIntoTableIndexes
 * @brief Process to compute the sum of parameter data into table indexes.
 */
class ProcessSumIntoTableIndexes : public AMDA::Parameters::MultiParamProcess_CRTP<ProcessSumIntoTableIndexes> {

public:
	/**
	 * @brief Constructor.
	 */
	ProcessSumIntoTableIndexes(Parameter &parameter);
	/**
	 * @brief Copy Constructor.
	 */
	ProcessSumIntoTableIndexes(const ProcessSumIntoTableIndexes& pProcess, Parameter &pParameter) ;
	/**
	 * @brief Destructor.
	 */
	~ProcessSumIntoTableIndexes();

	// Overload Process methods

	/**
	 * @overload Process::establishConnection()
	 */
	void establishConnection();

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

private:
	AMDA::Info::ParamTable* _dim1Table;
	AMDA::Info::ParamTable* _dim2Table;
	AMDA::Info::ParamTable* _outputParamTable;

	std::string _mainParamId;
};

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