IntervalTickNode.hh
1.08 KB
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
41
42
/**
* 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"
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() );
};
virtual ~IntervalTickNode(){};
void proceed(xmlNodePtr ,const AMDA::Parameters::CfgContext& );
};
} /* namespace plot */
#endif /* INTERVALTICKNODE_HH_ */