ProcessSumIntoTableIndexes.hh 1.2 KB
/*
 * 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_ */