#include <commandsProc.hxx>
Definition at line 442 of file commandsProc.hxx.
◆ CommandSetForLoopSteps()
| CommandSetForLoopSteps::CommandSetForLoopSteps |
( |
std::string |
forLoop, |
|
|
std::string |
value |
|
) |
| |
◆ dump()
| std::string CommandSetForLoopSteps::dump |
( |
| ) |
|
|
protectedvirtual |
◆ localExecute()
| bool CommandSetForLoopSteps::localExecute |
( |
| ) |
|
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2600 of file commandsProc.cxx.
2602 DEBTRACE(
"CommandSetForLoopSteps::localExecute");
2605 DEBTRACE(
"CommandSetForLoopSteps::localExecute");
2610 int val = atoi(
_value.c_str());
2619 DEBTRACE(
"CommandSetForLoopSteps::localExecute() : " <<
ex.what());
#define YASSERT(val)
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
Node * getChildByName(const std::string &name) const
virtual std::string getAsString()
returns port value as a string that can be used in a GUI for example
InputPort * edGetNbOfTimesInputPort()
Base class for all schema objects.
YACS::ENGINE::Proc * getProc()
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 _forLoop, YACS::HMI::GuiContext::_mapOfSubjectNode, _oldValue, _value, DEBTRACE, YACS::ENGINE::ForLoop::edGetNbOfTimesInputPort(), YACS::ENGINE::InputPort::edInit(), testCppPluginInvokation::ex, YACS::ENGINE::DataPort::getAsString(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::SETVALUE, YACS::HMI::SubjectNode::update(), and YASSERT.
◆ localReverse()
| bool CommandSetForLoopSteps::localReverse |
( |
| ) |
|
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 2625 of file commandsProc.cxx.
2627 DEBTRACE(
"CommandSetForLoopSteps::localReverse");
2630 DEBTRACE(
"CommandSetForLoopSteps::localReverse");
2642 DEBTRACE(
"CommandSetForLoopSteps::localReverse() : " <<
ex.what());
References _forLoop, YACS::HMI::GuiContext::_mapOfSubjectNode, _oldValue, DEBTRACE, YACS::ENGINE::ForLoop::edGetNbOfTimesInputPort(), YACS::ENGINE::InputPort::edInit(), testCppPluginInvokation::ex, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::SETVALUE, YACS::HMI::SubjectNode::update(), and YASSERT.
◆ _forLoop
| std::string YACS::HMI::CommandSetForLoopSteps::_forLoop |
|
protected |
◆ _oldValue
| int YACS::HMI::CommandSetForLoopSteps::_oldValue |
|
protected |
◆ _value
| std::string YACS::HMI::CommandSetForLoopSteps::_value |
|
protected |
The documentation for this class was generated from the following files: