#include <commandsProc.hxx>
Public Member Functions | |
CommandAddIDSPortFromCatalog (YACS::ENGINE::Catalog *catalog, std::string type, std::string node, std::string name) | |
YACS::ENGINE::InputDataStreamPort * | getIDSPort () |
SubjectInputDataStreamPort * | getSubjectIDSPort () |
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 | _typePort |
std::string | _node |
std::string | _name |
YACS::ENGINE::InputDataStreamPort * | _IDSPort |
SubjectInputDataStreamPort * | _sip |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 303 of file commandsProc.hxx.
CommandAddIDSPortFromCatalog::CommandAddIDSPortFromCatalog | ( | YACS::ENGINE::Catalog * | catalog, |
std::string | type, | ||
std::string | node, | ||
std::string | name | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 1409 of file commandsProc.cxx.
References _name, _node, _typePort, and PMMLBasicsTestLauncher::ret.
YACS::ENGINE::InputDataStreamPort * CommandAddIDSPortFromCatalog::getIDSPort | ( | ) |
SubjectInputDataStreamPort * CommandAddIDSPortFromCatalog::getSubjectIDSPort | ( | ) |
Definition at line 1421 of file commandsProc.cxx.
References _sip.
Referenced by YACS::HMI::SubjectElementaryNode::addIDSPort().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1426 of file commandsProc.cxx.
References _catalog, _IDSPort, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _name, _node, _sip, YACS::ENGINE::Catalog::_typeMap, _typePort, DEBTRACE, YACS::ENGINE::ElementaryNode::edAddInputDataStreamPort(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1460 of file commandsProc.cxx.
References _IDSPort, YACS::HMI::GuiContext::_mapOfSubjectDataPort, _name, _node, _sip, DEBTRACE, YACS::HMI::Subject::erase(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ElementaryNode::getInputDataStreamPort(), 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 316 of file commandsProc.hxx.
Referenced by localExecute().
|
protected |
Definition at line 320 of file commandsProc.hxx.
Referenced by CommandAddIDSPortFromCatalog(), getIDSPort(), localExecute(), and localReverse().
|
protected |
Definition at line 319 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 318 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 321 of file commandsProc.hxx.
Referenced by CommandAddIDSPortFromCatalog(), getSubjectIDSPort(), localExecute(), and localReverse().
|
protected |
Definition at line 317 of file commandsProc.hxx.
Referenced by dump(), and localExecute().