#include <commandsProc.hxx>
Public Member Functions | |
CommandSetExecutionMode (std::string nodeName, std::string mode) | |
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 | _mode |
std::string | _nodeName |
std::string | _oldmode |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 683 of file commandsProc.hxx.
CommandSetExecutionMode::CommandSetExecutionMode | ( | std::string | nodeName, |
std::string | mode | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3809 of file commandsProc.cxx.
References _mode, _nodeName, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3815 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _mode, _nodeName, _oldmode, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::UPDATE, YACS::HMI::SubjectNode::update(), and YACS::Exception::what().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3844 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _mode, _nodeName, _oldmode, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::UPDATE, YACS::HMI::SubjectNode::update(), and YACS::Exception::what().
|
protected |
Definition at line 691 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 692 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 693 of file commandsProc.hxx.
Referenced by CommandSetExecutionMode(), localExecute(), and localReverse().