Blame view

src/Parameters/Process.cc 1.17 KB
fbe3c2bb   Benjamin Renard   First commit
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
/*
 * Process.cc
 *
 *  Created on: Oct 31, 2012
 *      Author: f.casimir
 */

#include "Operation.hh"
#include "Process.hh"

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


namespace AMDA {
namespace Parameters {


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


/**
 *
 * Default constructor.
 */
Process::Process(Parameter &parameter) :
				AMDA::Parameters::DataWriter(parameter)
				,DataClient()
				,_operation(NULL),
854a7fcf   Benjamin Renard   First implementat...
31
				_refParameterSPtr(ParameterSPtr()), _gapThreshold(NAN), _isUserProcess(false) {
fbe3c2bb   Benjamin Renard   First commit
32
33
34
35
36
37
38
39
40
41
42
43
}

/**
 *
 * Default constructor.
 */
Process::Process(const Process &pProcess, Parameter &parameter) :
		 AMDA::Parameters::DataWriter(pProcess,parameter)
	, _attributList(pProcess._attributList)
	, _expression(pProcess._expression)
	, _description(pProcess._description)
	,_operation(NULL), //No need clone of the operation, it is done in the 'init' method implementation
854a7fcf   Benjamin Renard   First implementat...
44
	_refParameterSPtr(pProcess._refParameterSPtr), _gapThreshold(pProcess._gapThreshold), _isUserProcess(pProcess._isUserProcess)
fbe3c2bb   Benjamin Renard   First commit
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 {

 }


/**
 * Default destructor.
 */
Process::~Process() {
	 delete _operation;
}

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