2 * ParametersPlugin_EvalListener.h
4 * Created on: Apr 28, 2015
8 #ifndef SRC_PARAMETERSPLUGIN_EVALLISTENER_H_
9 #define SRC_PARAMETERSPLUGIN_EVALLISTENER_H_
11 #include <ParametersPlugin.h>
12 #include <Events_Loop.h>
13 #include <ParametersPlugin_PyInterp.h>
15 class PARAMETERSPLUGIN_EXPORT ParametersPlugin_EvalListener : public Events_Listener
18 ParametersPlugin_EvalListener();
19 virtual ~ParametersPlugin_EvalListener();
21 virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
24 double evaluate(const std::string& theExpression,
25 std::string& theError) ;
28 std::shared_ptr<ParametersPlugin_PyInterp> myInterp;
31 #endif /* SRC_PARAMETERSPLUGIN_PARAMETERSPLUGIN_EVALLISTENER_H_ */