#include <commandsProc.hxx>


Public Member Functions | |
| CommandAddControlLink (std::string outNode, std::string inNode) | |
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 | _outNode |
| std::string | _inNode |
Protected Attributes inherited from YACS::HMI::Command | |
| std::vector< Command * > | _subCommands |
| bool | _normalReverse |
Definition at line 518 of file commandsProc.hxx.
| CommandAddControlLink::CommandAddControlLink | ( | std::string | outNode, |
| std::string | inNode | ||
| ) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3036 of file commandsProc.cxx.
References _inNode, _outNode, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3042 of file commandsProc.cxx.
References _inNode, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _outNode, YACS::HMI::SubjectComposedNode::addSubjectControlLink(), DEBTRACE, YACS::ENGINE::ComposedNode::edAddCFLink(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::ComposedNode::getName(), YACS::HMI::SubjectNode::getName(), YACS::HMI::GuiContext::getProc(), PMMLBasicsTestLauncher::ret, setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3079 of file commandsProc.cxx.
References _inNode, YACS::HMI::GuiContext::_mapOfSubjectControlLink, _outNode, DEBTRACE, YACS::HMI::Subject::erase(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::Subject::getParent(), YACS::HMI::GuiContext::getProc(), YACS::HMI::REMOVE, YACS::HMI::Subject::select(), setErrorMsg(), YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 527 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 526 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().