#include <commandsProc.hxx>
Public Member Functions | |
CommandAddComponentFromCatalog (YACS::ENGINE::Catalog *catalog, std::string position, std::string compo, std::string service) | |
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 | |
YACS::ENGINE::Catalog * | _catalog |
std::string | _position |
std::string | _compo |
std::string | _service |
std::string | _nameInProc |
bool | _createdInstance |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 738 of file commandsProc.hxx.
CommandAddComponentFromCatalog::CommandAddComponentFromCatalog | ( | YACS::ENGINE::Catalog * | catalog, |
std::string | position, | ||
std::string | compo, | ||
std::string | service | ||
) |
Definition at line 4199 of file commandsProc.cxx.
References _createdInstance, _nameInProc, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 4210 of file commandsProc.cxx.
References _compo, _position, _service, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 4216 of file commandsProc.cxx.
References _catalog, _compo, YACS::ENGINE::Catalog::_componentMap, _createdInstance, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectNode, _nameInProc, _position, _service, YACS::ENGINE::ComponentDefinition::_serviceMap, YACS::HMI::SubjectServiceNode::_serviceNode, YACS::HMI::SubjectServiceNode::_subRefComponent, YACS::ENGINE::Proc::addComponentInstance(), YACS::HMI::SubjectProc::addSubjectComponent(), YACS::HMI::SubjectServiceNode::addSubjectReference(), YACS::HMI::SubjectComponent::attachService(), DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::ENGINE::ServiceNode::getComponent(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComponentInstance::getInstanceName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::GuiContext::getSubjectProc(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 4267 of file commandsProc.cxx.
References _createdInstance, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectContainer, YACS::HMI::GuiContext::_mapOfSubjectNode, _nameInProc, _position, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Proc::removeComponentInstance(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 749 of file commandsProc.hxx.
Referenced by localExecute().
|
protected |
Definition at line 751 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
|
protected |
Definition at line 754 of file commandsProc.hxx.
Referenced by CommandAddComponentFromCatalog(), localExecute(), and localReverse().
|
protected |
Definition at line 753 of file commandsProc.hxx.
Referenced by CommandAddComponentFromCatalog(), localExecute(), and localReverse().
|
protected |
Definition at line 750 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 752 of file commandsProc.hxx.
Referenced by dump(), and localExecute().