ProcessSumIntoTableRange.hh 1.2 KB
/*
 * ProcessSumIntoTableRange.hh
 *
 *  Created on: Oct 06, 2016
 *      Author: AKKA IS
 */

#ifndef PROCESSSUMINTOTABLERANGE_HH_
#define PROCESSSUMINTOTABLERANGE_HH_

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

namespace AMDA {
namespace Parameters {

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

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

	// 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;

	bool _tablesInit;
};

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