AsciiPlotOutputNode.cc
1021 Bytes
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
31
32
33
34
35
36
37
38
39
40
/*
* 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 */