#include <commandsProc.hxx>
Public Member Functions | |
CommandAssociateServiceToComponent (std::string service, std::string instanceName) | |
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 | _service |
std::string | _instanceName |
std::string | _oldInstance |
std::string | _oldcont |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 723 of file commandsProc.hxx.
CommandAssociateServiceToComponent::CommandAssociateServiceToComponent | ( | std::string | service, |
std::string | instanceName | ||
) |
Definition at line 4075 of file commandsProc.cxx.
References _oldInstance, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 4083 of file commandsProc.cxx.
References _instanceName, _service, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 4089 of file commandsProc.cxx.
References _instanceName, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectNode, _oldcont, _oldInstance, _service, YACS::HMI::SubjectServiceNode::_subRefComponent, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::SubjectComponent::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Container::getName(), YACS::HMI::SubjectComponent::getName(), YACS::HMI::Subject::getParent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 4140 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectNode, _oldcont, _oldInstance, _service, YACS::HMI::SubjectServiceNode::_subRefComponent, YACS::ENGINE::Proc::addComponentInstance(), YACS::HMI::SubjectProc::addSubjectComponent(), YACS::ENGINE::ComponentInstance::cloneAlways(), YACS::ENGINE::Proc::componentInstanceMap, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComposedNode::getName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::GuiContext::getSubjectProc(), YACS::ENGINE::ComponentInstance::setContainer(), setErrorMsg(), YACS::ENGINE::ComponentInstance::setName(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 733 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 735 of file commandsProc.hxx.
Referenced by localExecute(), and localReverse().
|
protected |
Definition at line 734 of file commandsProc.hxx.
Referenced by CommandAssociateServiceToComponent(), localExecute(), and localReverse().
|
protected |
Definition at line 732 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().