AsciiPlotOutputNode.cc 1021 Bytes
/*
 * AsciiPlotOutputNode.cc
 *
 *  Created on: Dec 6, 2013
 *      Author: amdadev
 */

#include "AsciiPlotOutputNode.hh"

#include <iosfwd>

#include "AsciiPlotOutput.hh"
#include "PlotLogger.hh"
#include "PanelPlotNodeRegistry.hh"

namespace plot {

const std::string AsciiPlotOutputNode::NODENAME = ASCIIPLOT_NODENAME;

std::string AsciiPlotOutputNode::_key = PanelPlotNodeRegistry::getInstance().addElement( NODENAME,
		boost::shared_ptr<AsciiPlotOutputNode>(new AsciiPlotOutputNode()));

AsciiPlotOutputNode::AsciiPlotOutputNode() : AbstractPanelPlotNode() {
}

AsciiPlotOutputNode::~AsciiPlotOutputNode() {
}

boost::shared_ptr<PanelPlotOutput> AsciiPlotOutputNode::proceed(xmlNodePtr /*pNode_*/, PlotOutput* plotManager_, Panel* panel_){
		LOG4CXX_DEBUG(gLogger, "AsciiPlotOutputNode::proceed");

		// create specific plot output
		boost::shared_ptr<AsciiPlotOutput> plot(
				new AsciiPlotOutput(plotManager_->getParameterManager(), boost::shared_ptr<Panel>(panel_)));
		return plot;
}



} /* namespace plot */