#include <commandsProc.hxx>


Public Member Functions | |
| CommandRenameInDataPort (std::string position, std::string oldName, std::string newName, TypeOfElem portType) | |
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 | _position |
| std::string | _oldName |
| std::string | _newName |
| TypeOfElem | _portType |
Protected Attributes inherited from YACS::HMI::Command | |
| std::vector< Command * > | _subCommands |
| bool | _normalReverse |
Definition at line 215 of file commandsProc.hxx.
| CommandRenameInDataPort::CommandRenameInDataPort | ( | std::string | position, |
| std::string | oldName, | ||
| std::string | newName, | ||
| TypeOfElem | portType | ||
| ) |
Definition at line 944 of file commandsProc.cxx.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 953 of file commandsProc.cxx.
References _newName, _oldName, _position, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 959 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectDataPort, _newName, _oldName, _portType, _position, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getInputDataStreamPort(), YACS::ENGINE::Node::getInputPort(), YACS::ENGINE::ComposedNode::getName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::INPUTPORT, YACS::HMI::RENAME, setErrorMsg(), YACS::ENGINE::DataPort::setName(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 998 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectDataPort, _newName, _oldName, _portType, _position, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getInputDataStreamPort(), YACS::ENGINE::Node::getInputPort(), YACS::ENGINE::ComposedNode::getName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::INPUTPORT, YACS::HMI::RENAME, setErrorMsg(), YACS::ENGINE::DataPort::setName(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 227 of file commandsProc.hxx.
Referenced by CommandRenameInDataPort(), dump(), localExecute(), and localReverse().
|
protected |
Definition at line 226 of file commandsProc.hxx.
Referenced by CommandRenameInDataPort(), dump(), localExecute(), and localReverse().
|
protected |
Definition at line 228 of file commandsProc.hxx.
Referenced by localExecute(), and localReverse().
|
protected |
Definition at line 225 of file commandsProc.hxx.
Referenced by CommandRenameInDataPort(), dump(), localExecute(), and localReverse().