/* * CurveFunctionWriter.hh * * Created on: Sep 19, 2014 * Author: AKKA */ #ifndef CURVEFUNCTIONWRITER_HH_ #define CURVEFUNCTIONWRITER_HH_ #include #include #include namespace plot { class CurveFunctionWriter { public: typedef std::map AttributeList; typedef struct{double x,y,z;} CurvePoint; typedef std::list CurvePointList; typedef void (*CurveFunctionProcess)(double, AttributeList&, CurvePointList&); CurveFunctionWriter(); virtual ~CurveFunctionWriter(); void setFunctionName(const std::string& name); std::string getFunctionName(void); void addAttribute(const std::string& name,double value); void call(double resolution, CurvePointList &curvePointList); private: std::string _functionName; AttributeList _attributeList; }; } /* namespace plot */ #endif /* CURVEFUNCTIONWRITER_HH_ */