Blame view

src/InternLib/ProcessSamplingUnderRefParam.hh 1.22 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
/**
 * ProcessSamplingUnderRefParam.hh
 *
 *  Created on: Jul 25, 2014
 *      Author: AKKA IS
 */

#ifndef ProcessSamplingUnderRefParam_HH_
#define ProcessSamplingUnderRefParam_HH_

#include "SingleParamProcess.hh"

namespace AMDA {
namespace Parameters {

class ProcessSamplingUnderRefParam: public AMDA::Parameters::SingleParamProcess_CRTP<ProcessSamplingUnderRefParam> {
public:
	/**
	 * brief constructor
	 */
	ProcessSamplingUnderRefParam(Parameter &parameter);

	/**
	 * brief constructor by copy
	 */
	ProcessSamplingUnderRefParam(const ProcessSamplingUnderRefParam& , Parameter &parameter);

	/**
	 * brief destructor
	 */
	virtual ~ProcessSamplingUnderRefParam();

	/**
	 * @brief DataWriter::init()
	 */
	virtual TimeStamp init();

	virtual void establishConnection();


	virtual unsigned int write();

	/*
	 * @overload SingleParamProcess_CRTP::getMinSampling
	 */
	virtual double getMinSampling();

	/**
	 * @overload SingleParamProcess_CRTP::updateInfo - update parameter info in relation to the resampling process
	 */
	virtual void updateInfo(Parameter & parameter);

private:
	//ParameterSPtr _refParameter;
	ParamData *_paramRefInput;
};

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