/* * AbstractPanelPlotNode.cc * * Created on: Dec 6, 2013 * Author: amdadev */ #include "AbstractPanelPlotNode.hh" namespace plot { AbstractPanelPlotNode::AbstractPanelPlotNode(): AMDA::XMLConfigurator::NodeGrpCfg() { } AbstractPanelPlotNode::~AbstractPanelPlotNode() { } void AbstractPanelPlotNode::proceed(xmlNodePtr pNode_, const AMDA::Parameters::CfgContext& pCtx_){ // there we expect to retrieve a PanelPlotOutput pointer in the context... PlotOutput* plotManager = pCtx_.get(); Panel* panel = pCtx_.get(); // parse current node and build related instance. boost::shared_ptr plot= proceed(pNode_, plotManager, panel); // Add plot to plot manager. plotManager->addPlot(plot); } } /* namespace plot */