#include <commandsProc.hxx>
Public Member Functions | |
CommandDestroy (TypeOfElem elemType, std::string startnode, std::string startport, TypeOfElem startportType, std::string endnode, std::string endport, TypeOfElem endportType) | |
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 | |
TypeOfElem | _elemType |
std::string | _startnode |
std::string | _startport |
TypeOfElem | _startportType |
std::string | _endnode |
std::string | _endport |
TypeOfElem | _endportType |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 759 of file commandsProc.hxx.
CommandDestroy::CommandDestroy | ( | TypeOfElem | elemType, |
std::string | startnode, | ||
std::string | startport, | ||
TypeOfElem | startportType, | ||
std::string | endnode, | ||
std::string | endport, | ||
TypeOfElem | endportType | ||
) |
Definition at line 1911 of file commandsProc.cxx.
References YACS::HMI::Command::_normalReverse, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 1921 of file commandsProc.cxx.
References _elemType, _endnode, _endport, _startnode, _startport, YACS::HMI::ProcInvoc::getTypeName(), and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1929 of file commandsProc.cxx.
References _elemType, _endnode, _endport, _endportType, YACS::HMI::GuiContext::_mapOfSubjectContainer, YACS::HMI::GuiContext::_mapOfSubjectControlLink, YACS::HMI::GuiContext::_mapOfSubjectDataPort, YACS::HMI::GuiContext::_mapOfSubjectLink, YACS::HMI::GuiContext::_mapOfSubjectNode, _startnode, _startport, _startportType, YACS::HMI::BLOC, YACS::HMI::COMPONENT, YACS::HMI::CONTAINER, YACS::ENGINE::Proc::containerMap, YACS::HMI::CONTROLLINK, YACS::HMI::CORBANODE, YACS::HMI::CPPNODE, YACS::HMI::DATALINK, YACS::HMI::DATATYPE, DEBTRACE, YACS::HMI::DFTODSFORLOOPNODE, YACS::HMI::DSTODFFORLOOPNODE, YACS::HMI::Subject::erase(), YACS::HMI::FOREACHLOOP, YACS::HMI::FORLOOP, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getInputDataStreamPort(), YACS::ENGINE::Node::getInputPort(), YACS::ENGINE::Node::getOutputDataStreamPort(), YACS::ENGINE::Node::getOutputPort(), YACS::HMI::Subject::getParent(), YACS::HMI::GuiContext::getProc(), YACS::HMI::INPUTDATASTREAMPORT, YACS::HMI::INPUTPORT, YACS::HMI::OPTIMIZERLOOP, YACS::HMI::OUTNODE, YACS::HMI::OUTPUTDATASTREAMPORT, YACS::HMI::OUTPUTPORT, YACS::HMI::PRESETNODE, YACS::HMI::PYFUNCNODE, YACS::HMI::PYTHONNODE, YACS::HMI::REFERENCE, YACS::HMI::REMOVE, YACS::HMI::SALOMENODE, YACS::HMI::SALOMEPROC, YACS::HMI::SALOMEPYTHONNODE, YACS::HMI::Subject::select(), setErrorMsg(), YACS::HMI::SPLITTERNODE, YACS::HMI::STUDYINNODE, YACS::HMI::STUDYOUTNODE, YACS::HMI::SWITCH, YACS::HMI::UNKNOWN, YACS::HMI::Subject::update(), YACS::Exception::what(), YACS::HMI::WHILELOOP, YACS::HMI::XMLNODE, and YASSERT.
|
protectedvirtual |
nothing to do here, all is done in subcommands
Implements YACS::HMI::Command.
Definition at line 2069 of file commandsProc.cxx.
References DEBTRACE.
|
protected |
Definition at line 770 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 774 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 775 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 776 of file commandsProc.hxx.
Referenced by localExecute().
|
protected |
Definition at line 771 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 772 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 773 of file commandsProc.hxx.
Referenced by localExecute().