#include <commandsProc.hxx>


Public Member Functions | |
| CommandAddNodeFromCatalog (YACS::ENGINE::Catalog *catalog, std::string compo, std::string type, std::string position, std::string name, bool newCompoInst=true, int swCase=0) | |
| YACS::ENGINE::Node * | getNode () | 
| YACS::HMI::SubjectNode * | getSubjectNode () | 
  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 | 
| TypeOfElem | _typeNode | 
| std::string | _compoName | 
| std::string | _typeName | 
| std::string | _position | 
| std::string | _name | 
| bool | _newCompoInst | 
| int | _swCase | 
| YACS::ENGINE::Node * | _node | 
| YACS::HMI::SubjectNode * | _snode | 
  Protected Attributes inherited from YACS::HMI::Command | |
| std::vector< Command * > | _subCommands | 
| bool | _normalReverse | 
Definition at line 108 of file commandsProc.hxx.
| CommandAddNodeFromCatalog::CommandAddNodeFromCatalog | ( | YACS::ENGINE::Catalog * | catalog, | 
| std::string | compo, | ||
| std::string | type, | ||
| std::string | position, | ||
| std::string | name, | ||
| bool | newCompoInst = true,  | 
        ||
| int | swCase = 0  | 
        ||
| ) | 
Definition at line 180 of file commandsProc.cxx.
      
  | 
  protectedvirtual | 
Reimplemented from YACS::HMI::Command.
Definition at line 195 of file commandsProc.cxx.
References _compoName, _name, _position, _typeName, and PMMLBasicsTestLauncher::ret.
| YACS::ENGINE::Node * CommandAddNodeFromCatalog::getNode | ( | ) | 
Definition at line 201 of file commandsProc.cxx.
References _node.
Referenced by YACS::HMI::SubjectComposedNode::createNode().
| YACS::HMI::SubjectNode * CommandAddNodeFromCatalog::getSubjectNode | ( | ) | 
Definition at line 206 of file commandsProc.cxx.
References _snode.
Referenced by YACS::HMI::SubjectComposedNode::createNode().
      
  | 
  protectedvirtual | 
Implements YACS::HMI::Command.
Definition at line 211 of file commandsProc.cxx.
References _catalog, _compoName, YACS::ENGINE::Catalog::_componentMap, YACS::ENGINE::Catalog::_composednodeMap, YACS::HMI::GuiContext::_mapOfLastComponentInstance, YACS::HMI::GuiContext::_mapOfSubjectNode, _name, _newCompoInst, _node, YACS::ENGINE::Catalog::_nodeMap, _position, YACS::ENGINE::ComponentDefinition::_serviceMap, _snode, _swCase, _typeName, _typeNode, YACS::HMI::SubjectComposedNode::addSubjectNode(), YACS::HMI::BLOC, YACS::ENGINE::Node::clone(), DEBTRACE, YACS::HMI::FOREACHLOOP, YACS::HMI::FORLOOP, YACS::ENGINE::ComposedNode::getChildByName(), YACS::ENGINE::ComponentInstance::getCompoName(), YACS::ENGINE::ServiceNode::getComponent(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComponentInstance::getInstanceName(), YACS::HMI::GuiContext::getProc(), YACS::HMI::ProcInvoc::getTypeOfNode(), YACS::HMI::Subject::loadChildren(), YACS::HMI::Subject::loadLinks(), YACS::HMI::OPTIMIZERLOOP, YACS::ENGINE::ServiceNode::setComponent(), YACS::HMI::GuiContext::setCurrentCatalog(), setErrorMsg(), YACS::ENGINE::Node::setName(), YACS::HMI::SWITCH, YACS::Exception::what(), YACS::HMI::WHILELOOP, and YASSERT.
      
  | 
  protectedvirtual | 
Implements YACS::HMI::Command.
Definition at line 323 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectNode, _name, _node, _position, _snode, DEBTRACE, YACS::HMI::Subject::erase(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::Subject::getName(), YACS::HMI::Subject::getParent(), YACS::HMI::GuiContext::getProc(), YACS::HMI::REMOVE, YACS::HMI::Subject::select(), setErrorMsg(), YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
      
  | 
  protected | 
Definition at line 124 of file commandsProc.hxx.
Referenced by localExecute().
      
  | 
  protected | 
Definition at line 126 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
      
  | 
  protected | 
Definition at line 129 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
      
  | 
  protected | 
Definition at line 130 of file commandsProc.hxx.
Referenced by localExecute().
      
  | 
  protected | 
Definition at line 132 of file commandsProc.hxx.
Referenced by CommandAddNodeFromCatalog(), getNode(), localExecute(), and localReverse().
      
  | 
  protected | 
Definition at line 128 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
      
  | 
  protected | 
Definition at line 133 of file commandsProc.hxx.
Referenced by CommandAddNodeFromCatalog(), getSubjectNode(), localExecute(), and localReverse().
      
  | 
  protected | 
Definition at line 131 of file commandsProc.hxx.
Referenced by localExecute().
      
  | 
  protected | 
Definition at line 127 of file commandsProc.hxx.
Referenced by dump(), and localExecute().
      
  | 
  protected | 
Definition at line 125 of file commandsProc.hxx.
Referenced by localExecute().