Blame view

src/InternLib/ParamTableProcess.hh 1.17 KB
91edc9c0   Benjamin Renard   Add process to tr...
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
/*
 * ParamTableProcess.hh
 *
 *  Created on: Nov 23, 2022
 *      Author: AKKA
 */

#ifndef ParamTableProcess_HH_
#define ParamTableProcess_HH_

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

namespace AMDA {
namespace Parameters {

/**
 * @class ParamTableProcess_HH_
 * @brief ParamTable to (min, max)
 */
class ParamTableProcess : public AMDA::Parameters::MultiParamProcess_CRTP<ParamTableProcess> {
public:
	/**
	 * @brief Constructor.
	 */
	ParamTableProcess(AMDA::Parameters::Parameter &parameter);
	/**
	 * @brief Copy Constructor.
	 */
	ParamTableProcess(const ParamTableProcess& pProcess, AMDA::Parameters::Parameter &pParameter) ;
	/**
	 * @brief Destructor.
	 */
	~ParamTableProcess();

	// Overload Process methods

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

	void setParamTableId(std::string& paramTableId);

	boost::shared_ptr<AMDA::Info::ParamTable> getParamTable();

private:

	boost::shared_ptr<AMDA::Info::ParamTable> _paramTable;
	ParameterSPtr _paramSPtr;
};

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