TimeTickSymbolNode.hh
766 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 TIMETICKSYMBOLNODE_HH_
#define TIMETICKSYMBOLNODE_HH_
#include <libxml/tree.h>
#include <iosfwd>
#include "NodeCfg.hh"
#include "AbstractSymbolNode.hh"
namespace plot {
class TimeTickSymbolNode: public AbstractSymbolNode {
public:
TimeTickSymbolNode() :
AbstractSymbolNode() {
}
virtual ~TimeTickSymbolNode() {
}
SymbolProperties & getSymbolProperties (const AMDA::Parameters::CfgContext& context_) {
DrawingProperties* pProps = context_.get<DrawingProperties*>();
// Return symbol properties relative to the time tick symbol
return pProps->getTimeTickProperties().getSymbol();
}
};
} /* namespace plot */
#endif /* TIMETICKSYMBOLNODE_HH_ */