/** * TimeTickNode.hh * * Created on: July 22, 2014 * Author: AKKA */ #ifndef TIMETICKNODE_HH_ #define TIMETICKNODE_HH_ #include #include #include "NodeCfg.hh" #include "PlotLogger.hh" #include "SeriesProperties.hh" #include "CommonNode.hh" #include "TimeTickSymbolNode.hh" #include "TimeTickFirstSymbolNode.hh" namespace plot { /** * Read a 'timetick' tag from xml request and populate related plot::SerieProperties * object (which is object holding drawing properties for that parameter's serie). * structure of xml node to read is defined in the plot.xsd schemas. */ class TimeTickNode: public AMDA::XMLConfigurator::NodeGrpCfg { public: TimeTickNode() : AMDA::XMLConfigurator::NodeGrpCfg(){ getChildList()["font"] = AMDA::XMLConfigurator::NodeCfgSPtr( new FontNode() ); getChildList()["symbol"] = AMDA::XMLConfigurator::NodeCfgSPtr( new TimeTickSymbolNode() ); getChildList()["firstSymbol"] = AMDA::XMLConfigurator::NodeCfgSPtr( new TimeTickFirstSymbolNode() ); }; virtual ~TimeTickNode(){}; void proceed(xmlNodePtr ,const AMDA::Parameters::CfgContext& ); }; } /* namespace plot */ #endif /* TIMETICKNODE_HH_ */