#include <commandsProc.hxx>
Public Member Functions | |
CommandSetOutPortValue (std::string node, std::string port, std::string value) | |
Public Member Functions inherited from YACS::HMI::Command | |
Command () | |
virtual bool | execute () |
the command is executed a first time after its registration for undo redo, then on redo More... | |
virtual bool | reverse (bool isNormal=true) |
Reverse action: undo. More... | |
virtual bool | executeSubOnly () |
execute only sub commands in a reverse action More... | |
std::string | recursiveDump (int level=0) |
void | addSubCommand (Command *command) |
bool | isNormalReverse () |
Protected Member Functions | |
virtual bool | localExecute () |
virtual bool | localReverse () |
virtual std::string | dump () |
Protected Attributes | |
std::string | _node |
std::string | _port |
std::string | _value |
std::string | _oldValue |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 395 of file commandsProc.hxx.
CommandSetOutPortValue::CommandSetOutPortValue | ( | std::string | node, |
std::string | port, | ||
std::string | value | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 2239 of file commandsProc.cxx.
References _node, _port, _value, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2245 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectDataPort, _node, _oldValue, _port, _value, YACS::ENGINE::convertPyObjectXml(), YACS::ENGINE::RuntimeSALOME::convertStringToPyObject(), DEBTRACE, YACS::ENGINE::DataPort::edGetType(), YACS::ENGINE::OutputPresetPort::getAsString(), YACS::ENGINE::OutputStudyPort::getAsString(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getOutputPort(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::getSALOMERuntime(), YACS::ENGINE::TypeCode::isA(), YACS::ENGINE::TypeCode::kind(), YACS::ENGINE::DataNode::setData(), setErrorMsg(), YACS::HMI::SETVALUE, YACS::ENGINE::String, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2338 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectDataPort, _node, _oldValue, _port, _value, YACS::ENGINE::convertPyObjectXml(), YACS::ENGINE::RuntimeSALOME::convertStringToPyObject(), DEBTRACE, YACS::ENGINE::DataPort::edGetType(), YACS::ENGINE::OutputPresetPort::getAsString(), YACS::ENGINE::OutputStudyPort::getAsString(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getOutputPort(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::getSALOMERuntime(), YACS::ENGINE::TypeCode::isA(), YACS::ENGINE::TypeCode::kind(), YACS::ENGINE::DataNode::setData(), setErrorMsg(), YACS::HMI::SETVALUE, YACS::ENGINE::String, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 405 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 408 of file commandsProc.hxx.
Referenced by CommandSetOutPortValue(), localExecute(), and localReverse().
|
protected |
Definition at line 406 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 407 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().