GZipNode.cc 518 Bytes
/*
 * 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);
}

}