MorschhauserBmagProcess.cc 1.36 KB
/*
 * MorschhauserBmagProcess.cc
 *
 *  Created on: May 30, 2016
 *      Author: AKKA IS
 */
#include <stdlib.h>
#include <string>

#include "Operation.hh"
#include "ParameterManager.hh"
#include "MorschhauserBmagProcess.hh"
#include "MorschhauserCreator.hh"
#include "ParameterCreatorFromExpression.hh"

using namespace std;
using namespace boost;
using namespace log4cxx;

namespace AMDA {
namespace Parameters {

	MorschhauserBmagProcess::MorschhauserBmagProcess(Parameter &parameter) : SingleParamProcess_CRTP(parameter) {
	}

	MorschhauserBmagProcess::MorschhauserBmagProcess(const MorschhauserBmagProcess& pProcess, Parameter &parameter) : SingleParamProcess_CRTP(pProcess,parameter) {
	}

	MorschhauserBmagProcess::~MorschhauserBmagProcess() {
	}

	TimeStamp MorschhauserBmagProcess::init() {
		TimeStamp timeStamp = _parameterInput->init( this, _timeIntervalList);
		Parameter::InfoList lInfoList = _parameterInput->getInfoList();
		_parameter.getInfoList().insert(lInfoList.begin(), lInfoList.end());
		_paramInput = _parameterInput->getParamData(this).get();
		MorschhauserCreator lMorschhauserCreator(*this, *_paramInput, true);
		_operation = lMorschhauserCreator.getOperation();
		_paramData = ParamDataSPtr(_operation->getParamOutput());
		_paramData->setMinSampling(_paramInput->getMinSampling());

		return timeStamp;

	}


} /* namespace Parameters */
} /* namespace AMDA */