2247 DEBTRACE(
"CommandSetOutPortValue::localExecute");
2259 dnode =
dynamic_cast<DataNode*
>(node);
2265 DEBTRACE(
"CommandSetOutPortValue::localExecute() : " <<
ex.what());
2270 if (!outpp && !outsp)
2272 DEBTRACE(
"Set value on output port only possible on a presetPort or a studyPort");
2279 DEBTRACE(
"Set value on output port only possible on a dataNode");
2302 strval =
"\"" +
_value +
"\"";
2309 DEBTRACE(
"CommandSetOutPortValue::localExecute() : " <<
ex.what());
2315 PyGILState_STATE gstate = PyGILState_Ensure();
2326 DEBTRACE(
"CommandSetOutPortValue::localExecute() : " <<
ex.what());
2329 PyGILState_Release(gstate);
2334 PyGILState_Release(gstate);
#define YASSERT(val)
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
Node * getChildByName(const std::string &name) const
Class for data parameters specification.
virtual void setData(InputPort *port, const std::string &data)
TypeCode * edGetType() const
Base class for all nodes.
virtual OutputPort * getOutputPort(const std::string &name) const =0
Class for PRESET output Ports.
virtual std::string getAsString()
returns port value as a string that can be used in a GUI for example
Class for Study output Ports.
virtual std::string getAsString()
returns port value as a string that can be used in a GUI for example
Base class for all schema objects.
virtual PyObject * convertStringToPyObject(const std::string &s)
virtual int isA(const char *repositoryId) const
YACS::ENGINE::Proc * getProc()
std::string _lastErrorMessage
std::map< YACS::ENGINE::DataPort *, YACS::HMI::SubjectDataPort * > _mapOfSubjectDataPort
static GuiContext * getCurrent()
virtual void update(GuiEvent event, int type, Subject *son)
void setErrorMsg(YACS::Exception &ex)
YACSRUNTIMESALOME_EXPORT RuntimeSALOME * getSALOMERuntime()
std::string convertPyObjectXml(const TypeCode *t, PyObject *data)