#include <commandsProc.hxx>


Public Member Functions | |
| CommandAddContainerBase (std::string name, std::string refContainer) | |
| virtual | ~CommandAddContainerBase () |
| SubjectContainerBase * | getSubjectContainer () |
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... | |
| virtual std::string | dump () |
| std::string | recursiveDump (int level=0) |
| void | addSubCommand (Command *command) |
| bool | isNormalReverse () |
Protected Member Functions | |
| virtual bool | localExecute () |
| virtual bool | localReverse () |
| virtual YACS::ENGINE::Container * | createNewInstance () const =0 |
Protected Attributes | |
| std::string | _name |
| std::string | _containerToClone |
| SubjectContainerBase * | _subcont |
Protected Attributes inherited from YACS::HMI::Command | |
| std::vector< Command * > | _subCommands |
| bool | _normalReverse |
Definition at line 530 of file commandsProc.hxx.
| CommandAddContainerBase::CommandAddContainerBase | ( | std::string | name, |
| std::string | refContainer | ||
| ) |
|
virtual |
Definition at line 3118 of file commandsProc.cxx.
|
protectedpure virtual |
Implemented in YACS::HMI::CommandAddHPContainer, and YACS::HMI::CommandAddContainer.
Referenced by localExecute().
|
inline |
Definition at line 535 of file commandsProc.hxx.
References _subcont.
Referenced by YACS::HMI::SubjectProc::addContainer(), and YACS::HMI::SubjectProc::addHPContainer().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3122 of file commandsProc.cxx.
References _containerToClone, YACS::HMI::GuiContext::_lastErrorMessage, _name, _subcont, YACS::HMI::SubjectProc::addSubjectContainer(), YACS::ENGINE::Proc::containerMap, createNewInstance(), DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Container::getProperties(), YACS::HMI::GuiContext::getSubjectProc(), gui.CONNECTOR::ref(), setErrorMsg(), YACS::ENGINE::Container::setName(), YACS::ENGINE::Container::setProc(), YACS::ENGINE::Container::setProperties(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3164 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectContainer, _name, _subcont, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::HMI::GuiContext::getSubjectProc(), YACS::HMI::SubjectProc::removeSubjectContainer(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 541 of file commandsProc.hxx.
Referenced by YACS::HMI::CommandAddContainer::dump(), YACS::HMI::CommandAddHPContainer::dump(), and localExecute().
|
protected |
Definition at line 540 of file commandsProc.hxx.
Referenced by YACS::HMI::CommandAddContainer::dump(), YACS::HMI::CommandAddHPContainer::dump(), localExecute(), and localReverse().
|
protected |
Definition at line 542 of file commandsProc.hxx.
Referenced by getSubjectContainer(), localExecute(), and localReverse().