/** * 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 { public: /** * brief constructor */ ProcessSamplingUnderRefParam(Parameter ¶meter); /** * brief constructor by copy */ ProcessSamplingUnderRefParam(const ProcessSamplingUnderRefParam& , Parameter ¶meter); /** * 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 */