#include <commandsProc.hxx>
Public Member Functions | |
CommandSetComponentInstanceProperties (std::string compoinstance, std::map< std::string, std::string > properties) | |
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 | _compoinstance |
std::map< std::string, std::string > | _properties |
std::map< std::string, std::string > | _oldProp |
bool | _oldAnon |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 591 of file commandsProc.hxx.
CommandSetComponentInstanceProperties::CommandSetComponentInstanceProperties | ( | std::string | compoinstance, |
std::map< std::string, std::string > | properties | ||
) |
Definition at line 3295 of file commandsProc.cxx.
References _oldProp, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3303 of file commandsProc.cxx.
References _compoinstance, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3309 of file commandsProc.cxx.
References _compoinstance, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, _oldAnon, _oldProp, _properties, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::PropertyInterface::getProperties(), YACS::ENGINE::ComponentInstance::isAnonymous(), gui.CONNECTOR::ref(), YACS::ENGINE::ComponentInstance::setAnonymous(), setErrorMsg(), YACS::ENGINE::PropertyInterface::setProperties(), YACS::HMI::SETVALUE, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3338 of file commandsProc.cxx.
References _compoinstance, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, _oldAnon, _oldProp, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), gui.CONNECTOR::ref(), YACS::ENGINE::ComponentInstance::setAnonymous(), setErrorMsg(), YACS::ENGINE::PropertyInterface::setProperties(), YACS::HMI::SETVALUE, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 600 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 603 of file commandsProc.hxx.
Referenced by localExecute(), and localReverse().
|
protected |
Definition at line 602 of file commandsProc.hxx.
Referenced by CommandSetComponentInstanceProperties(), localExecute(), and localReverse().
|
protected |
Definition at line 601 of file commandsProc.hxx.
Referenced by localExecute().