Blame view

src/ParamOutputImpl/Plot/IntervalTickNode.hh 1.23 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * IntervalTickNode.hh
 *
 *  Created on: Jan 26, 2015
 *      Author: AKKA
 */

#ifndef INTERVALTICKNODE_HH_
#define INTERVALTICKNODE_HH_

#include <libxml/tree.h>
#include <iosfwd>

#include "NodeCfg.hh"
#include "PlotLogger.hh"
#include "SeriesProperties.hh"
#include "CommonNode.hh"
#include "IntervalTickSymbolNode.hh"
bb68eaab   Benjamin Renard   Fix + Also give t...
19
#include "IntervalTickLastSymbolNode.hh"
fbe3c2bb   Benjamin Renard   First commit
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

namespace plot {

/**
 * Read a 'intervalTick' 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 IntervalTickNode: public AMDA::XMLConfigurator::NodeGrpCfg {
public:

	IntervalTickNode() : AMDA::XMLConfigurator::NodeGrpCfg(){
		getChildList()["font"] = AMDA::XMLConfigurator::NodeCfgSPtr(
					new FontNode<IntervalTickProperties>()	);
		getChildList()["symbol"] = AMDA::XMLConfigurator::NodeCfgSPtr(
					new IntervalTickSymbolNode()	);
bb68eaab   Benjamin Renard   Fix + Also give t...
36
37
        getChildList()["lastSymbol"] = AMDA::XMLConfigurator::NodeCfgSPtr(
					new IntervalTickLastSymbolNode()	);
fbe3c2bb   Benjamin Renard   First commit
38
39
40
41
42
43
44
45
	};
	virtual ~IntervalTickNode(){};
	void proceed(xmlNodePtr ,const AMDA::Parameters::CfgContext& );
};

} /* namespace plot */

#endif /* INTERVALTICKNODE_HH_ */