ParamGet.cc
892 Bytes
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
/*
* 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 */