TimeTickLastSymbolNode.hh 813 Bytes
/**
 * TimeTickLastSymbolNode.hh
 *
 *  Created on: 20 Oct 2024
 *      Author: Furkan - AKKODIS
 */

#ifndef TIMETICKLASTSYMBOLNODE_HH_
#define TIMETICKLASTSYMBOLNODE_HH_

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

#include "NodeCfg.hh"
#include "AbstractSymbolNode.hh"


namespace plot {

class TimeTickLastSymbolNode: public AbstractSymbolNode {

public:
	TimeTickLastSymbolNode() :
			AbstractSymbolNode() {
	}
	virtual ~TimeTickLastSymbolNode() {
	}

	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().getLastSymbol();
	}


};

} /* namespace plot */

#endif /* TIMETICKLASTSYMBOLNODE_HH_ */