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>
14 class ParametersPlugin_PyInterp;
16 class PARAMETERSPLUGIN_EXPORT ParametersPlugin_EvalListener : public Events_Listener
19 ParametersPlugin_EvalListener();
20 virtual ~ParametersPlugin_EvalListener();
22 virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
25 double evaluate(const std::string& theExpression,
26 std::string& theError) ;
29 std::shared_ptr<ParametersPlugin_PyInterp> myInterp;
32 #endif /* SRC_PARAMETERSPLUGIN_PARAMETERSPLUGIN_EVALLISTENER_H_ */