Blame view

src/PostProcessing/GZipNode.cc 518 Bytes
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
/*
 * GZipNode.cc
 *
 *  Created on: 4 oct. 2013
 *      Author: CS
 */

#include "GzipNode.hh"

namespace postprocessing {

log4cxx::LoggerPtr GzipNode::_logger = log4cxx::Logger::getLogger(
		"AMDA-Kernel.GzipNode");

void GzipNode::proceed(xmlNodePtr /*pNode*/,
		const AMDA::Parameters::CfgContext& pContext) {
	LOG4CXX_DEBUG(_logger, "GzipNode::proceed");

	PostProcessingAble* output = pContext.get<PostProcessingAble*>();

	// Set value in output param
	output->addPostProcessing(new GzipPostProcessing);
}

}