ParamGet.cc 892 Bytes
/*
 * ParamGet.cc
 *
 *  Created on: 15 oct. 2012
 *      Author: casimir
 */

#include <iostream>
#include <sstream>
#include "ParamGet.hh"

#include "Parameter.hh"
#include "Process.hh"
#include "ParameterManager.hh"
#include "ServicesServer.hh"

using namespace log4cxx;

namespace AMDA {
namespace Parameters {

LoggerPtr ParamGet::_logger(Logger::getLogger("AMDA-Kernel.ParamGet"));

ParamGet::ParamGet(Parameter & parameter) : DataWriter(parameter), _useNearestValue(false), _globalStart(0.), _globalStop(0.) {
}

ParamGet::ParamGet(const ParamGet &pParamGet, Parameter & parameter) : DataWriter(pParamGet, parameter), _useNearestValue(pParamGet._useNearestValue), _globalStart(pParamGet._globalStart), _globalStop(pParamGet._globalStop) {
}

ParamGet::~ParamGet() {
}

bool ParamGet::useNearestValue()
{
	return _useNearestValue;
}

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