TimeTickFirstSymbolNode.hh
807 Bytes
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
/**
* TimeTickSymbolNode.hh
*
* Created on: Dec 2, 2013
* Author: amdadev
*/
#ifndef TIMETICKFIRSTSYMBOLNODE_HH_
#define TIMETICKFIRSTSYMBOLNODE_HH_
#include <libxml/tree.h>
#include <iosfwd>
#include "NodeCfg.hh"
#include "AbstractSymbolNode.hh"
namespace plot {
class TimeTickFirstSymbolNode: public AbstractSymbolNode {
public:
TimeTickFirstSymbolNode() :
AbstractSymbolNode() {
}
virtual ~TimeTickFirstSymbolNode() {
}
SymbolProperties & getSymbolProperties (const AMDA::Parameters::CfgContext& context_) {
DrawingProperties* pProps = context_.get<DrawingProperties*>();
// Return symbol properties relative to the first time tick symbol
return pProps->getTimeTickProperties().getFirstSymbol();
}
};
} /* namespace plot */
#endif /* TIMETICKFIRSTSYMBOLNODE_HH_ */