#include <commandsProc.hxx>
Public Member Functions | |
CommandSetSwitchCase (std::string aSwitch, std::string node, 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 | _switch |
std::string | _node |
std::string | _oldNode |
std::string | _value |
int | _oldValue |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 425 of file commandsProc.hxx.
CommandSetSwitchCase::CommandSetSwitchCase | ( | std::string | aSwitch, |
std::string | node, | ||
std::string | value | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 2509 of file commandsProc.cxx.
References _node, _switch, _value, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2515 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectNode, _node, _oldNode, _oldValue, _switch, _value, DEBTRACE, YACS::ENGINE::Switch::edChangeCase(), YACS::ENGINE::Switch::edGetNode(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::ENGINE::ComposedNode::getChildName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Switch::getRankOfNode(), YACS::HMI::SubjectNode::recursiveUpdate(), YACS::HMI::RENAME, YACS::HMI::SETCASE, setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2549 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectNode, _oldNode, _oldValue, _switch, DEBTRACE, YACS::ENGINE::Switch::edChangeCase(), YACS::ENGINE::Switch::edGetNode(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Switch::getRankOfNode(), YACS::HMI::SubjectNode::recursiveUpdate(), YACS::HMI::RENAME, YACS::HMI::SETCASE, setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 436 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 437 of file commandsProc.hxx.
Referenced by CommandSetSwitchCase(), localExecute(), and localReverse().
|
protected |
Definition at line 439 of file commandsProc.hxx.
Referenced by CommandSetSwitchCase(), localExecute(), and localReverse().
|
protected |
Definition at line 435 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 438 of file commandsProc.hxx.
Referenced by dump(), and localExecute().