#include <commandsProc.hxx>
Definition at line 683 of file commandsProc.hxx.
◆ CommandSetExecutionMode()
| CommandSetExecutionMode::CommandSetExecutionMode |
( |
std::string |
nodeName, |
|
|
std::string |
mode |
|
) |
| |
◆ dump()
| std::string CommandSetExecutionMode::dump |
( |
| ) |
|
|
protectedvirtual |
◆ localExecute()
| bool CommandSetExecutionMode::localExecute |
( |
| ) |
|
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3817 of file commandsProc.cxx.
3819 DEBTRACE(
"CommandSetExecutionMode::localExecute");
3826 _oldmode = pyNode->getExecutionMode();
3827 pyNode->setExecutionMode(
_mode);
3840 DEBTRACE(
"CommandSetExecutionMode::localExecute() : " <<
ex.what());
Node * getChildByName(const std::string &name) const
Class for calculation node (script) inlined (and executed) in the schema.
Base class for all nodes.
Base class for all schema objects.
YACS::ENGINE::Proc * getProc()
std::string _lastErrorMessage
std::map< YACS::ENGINE::Node *, YACS::HMI::SubjectNode * > _mapOfSubjectNode
static GuiContext * getCurrent()
virtual void update(GuiEvent event, int type, Subject *son)
void setErrorMsg(YACS::Exception &ex)
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _mode, _nodeName, _oldmode, DEBTRACE, testCppPluginInvokation::ex, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::UPDATE, and YACS::HMI::SubjectNode::update().
◆ localReverse()
| bool CommandSetExecutionMode::localReverse |
( |
| ) |
|
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3846 of file commandsProc.cxx.
3848 DEBTRACE(
"CommandSetExecutionMode::localReverse");
3856 pyNode->setExecutionMode(
_oldmode);
3869 DEBTRACE(
"CommandSetExecutionMode::localReverse() : " <<
ex.what());
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _mode, _nodeName, _oldmode, DEBTRACE, testCppPluginInvokation::ex, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::UPDATE, and YACS::HMI::SubjectNode::update().
◆ _mode
| std::string YACS::HMI::CommandSetExecutionMode::_mode |
|
protected |
◆ _nodeName
| std::string YACS::HMI::CommandSetExecutionMode::_nodeName |
|
protected |
◆ _oldmode
| std::string YACS::HMI::CommandSetExecutionMode::_oldmode |
|
protected |
The documentation for this class was generated from the following files: