ProcessSamplingUnderRefParam.hh 1.22 KB
/**
 * 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 */