#include <commandsProc.hxx>
Public Member Functions | |
CommandAddComponentInstance (std::string compoName, std::string container, std::string name="") | |
SubjectComponent * | getSubjectComponent () |
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 | _compoName |
std::string | _container |
std::string | _name |
SubjectComponent * | _subcompo |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 666 of file commandsProc.hxx.
CommandAddComponentInstance::CommandAddComponentInstance | ( | std::string | compoName, |
std::string | container, | ||
std::string | name = "" |
||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3742 of file commandsProc.cxx.
References _compoName, _container, _name, and PMMLBasicsTestLauncher::ret.
|
inline |
Definition at line 672 of file commandsProc.hxx.
References _subcompo.
Referenced by YACS::HMI::SubjectProc::addComponent().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3748 of file commandsProc.cxx.
References _compoName, _container, _name, _subcompo, YACS::ENGINE::Proc::addComponentInstance(), YACS::HMI::SubjectProc::addSubjectComponent(), YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComponentInstance::getInstanceName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::GuiContext::getSubjectProc(), YACS::ENGINE::ComponentInstance::setContainer(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3774 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectContainer, _name, _subcompo, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Proc::removeComponentInstance(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 677 of file commandsProc.hxx.
Referenced by CommandAddComponentInstance(), dump(), and localExecute().
|
protected |
Definition at line 678 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 679 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 680 of file commandsProc.hxx.
Referenced by getSubjectComponent(), localExecute(), and localReverse().