TarNode.cc
628 Bytes
/*
* TarNode.cc
*
* Created on: 4 oct. 2013
* Author: CS
*/
#include "TarNode.hh"
#include <sstream>
namespace postprocessing {
log4cxx::LoggerPtr TarNode::_logger = log4cxx::Logger::getLogger("AMDA-Kernel.TarNode");
void TarNode::proceed(xmlNodePtr pNode,
const AMDA::Parameters::CfgContext& pContext) {
LOG4CXX_DEBUG(_logger, "TarNode::proceed");
PostProcessingAble* output = pContext.get<PostProcessingAble*>();
// Set value in output param
std::stringstream outputNodeName;
outputNodeName << pNode->parent->parent->name;
output->addPostProcessing(new TarPostProcessing(outputNodeName.str()));
}
}