#include <commandsProc.hxx>
Public Member Functions | |
CommandAddLink (std::string outNode, std::string outPort, TypeOfElem outPortType, std::string inNode, std::string inPort, TypeOfElem inPortType, bool control=true) | |
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 | _outPort |
TypeOfElem | _outPortType |
std::string | _inNode |
std::string | _inPort |
TypeOfElem | _inPortType |
bool | _control |
bool | _controlCreatedWithDF |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 499 of file commandsProc.hxx.
CommandAddLink::CommandAddLink | ( | std::string | outNode, |
std::string | outPort, | ||
TypeOfElem | outPortType, | ||
std::string | inNode, | ||
std::string | inPort, | ||
TypeOfElem | inPortType, | ||
bool | control = true |
||
) |
Definition at line 2855 of file commandsProc.cxx.
References _controlCreatedWithDF, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 2864 of file commandsProc.cxx.
References _control, _inNode, _inPort, _outNode, _outPort, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2872 of file commandsProc.cxx.
References _control, _controlCreatedWithDF, _inNode, _inPort, _inPortType, YACS::HMI::GuiContext::_mapOfSubjectDataPort, YACS::HMI::GuiContext::_mapOfSubjectNode, _outNode, _outPort, _outPortType, YACS::HMI::SubjectComposedNode::addSubjectControlLink(), YACS::HMI::SubjectComposedNode::addSubjectLink(), DEBTRACE, YACS::ENGINE::ComposedNode::edAddDFLink(), YACS::ENGINE::ComposedNode::edAddLink(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::Node::getInGate(), YACS::ENGINE::Node::getInputDataStreamPort(), YACS::ENGINE::Node::getInputPort(), YACS::ENGINE::ComposedNode::getName(), YACS::HMI::SubjectNode::getName(), YACS::ENGINE::Node::getOutGate(), YACS::ENGINE::Node::getOutputDataStreamPort(), YACS::ENGINE::Node::getOutputPort(), YACS::HMI::GuiContext::getProc(), YACS::HMI::INPUTPORT, YACS::ENGINE::OutGate::isAlreadyInSet(), YACS::HMI::OUTPUTPORT, setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2970 of file commandsProc.cxx.
References _controlCreatedWithDF, _inNode, _inPort, _inPortType, YACS::HMI::GuiContext::_mapOfSubjectControlLink, YACS::HMI::GuiContext::_mapOfSubjectLink, _outNode, _outPort, _outPortType, DEBTRACE, YACS::HMI::Subject::erase(), 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::INPUTPORT, YACS::HMI::OUTPUTPORT, YACS::HMI::REMOVE, YACS::HMI::Subject::select(), setErrorMsg(), YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 514 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 515 of file commandsProc.hxx.
Referenced by CommandAddLink(), localExecute(), and localReverse().
|
protected |
Definition at line 511 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 512 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 513 of file commandsProc.hxx.
Referenced by localExecute(), and localReverse().
|
protected |
Definition at line 508 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 509 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 510 of file commandsProc.hxx.
Referenced by localExecute(), and localReverse().