InstantPlotConfigNode.hh 833 Bytes
/*
 * InstantPlotConfigNode.hh
 *
 *  Created on: Dec 13, 2013
 *      Author: amdadev
 */

#ifndef INSTANTPLOTCONFIGNODE_HH_
#define INSTANTPLOTCONFIGNODE_HH_

#include <string>
#include "AbstractPlotConfigNode.hh"

namespace plot {
/**
 * Class used to handle xml configuration for instant plot types.
 */
class InstantPlotConfigNode: public plot::AbstractPlotConfigNode {
public:
	InstantPlotConfigNode();
	virtual ~InstantPlotConfigNode();
protected:
	/**
	 * @overload plot::AbstractPanelPlotNode::geNodeName
	 */
	const std::string& getNodeName();

private:
	/**
	 * constant to uniquely identify this node in the registry
	 */
	static const std::string NODENAME;
	/**
	 * artificial special attribute to force registering node.
	 */
	static std::string _key;
};

} /* namespace plot */

#endif /* INSTANTPLOTCONFIGNODE_HH_ */