#include <commandsProc.hxx>
Public Member Functions | |
CommandAddInputPortFromCatalog (YACS::ENGINE::Catalog *catalog, std::string type, std::string node, std::string name) | |
YACS::ENGINE::InputPort * | getInputPort () |
SubjectInputPort * | getSubjectInputPort () |
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::InputPort * | _inputPort |
SubjectInputPort * | _sip |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 261 of file commandsProc.hxx.
CommandAddInputPortFromCatalog::CommandAddInputPortFromCatalog | ( | YACS::ENGINE::Catalog * | catalog, |
std::string | type, | ||
std::string | node, | ||
std::string | name | ||
) |
Definition at line 1197 of file commandsProc.cxx.
References _inputPort, and _sip.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 1207 of file commandsProc.cxx.
References _name, _node, _typePort, and PMMLBasicsTestLauncher::ret.
YACS::ENGINE::InputPort * CommandAddInputPortFromCatalog::getInputPort | ( | ) |
Definition at line 1213 of file commandsProc.cxx.
References _inputPort.
SubjectInputPort * CommandAddInputPortFromCatalog::getSubjectInputPort | ( | ) |
Definition at line 1218 of file commandsProc.cxx.
References _sip.
Referenced by YACS::HMI::SubjectElementaryNode::addInputPort().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1223 of file commandsProc.cxx.
References _catalog, _inputPort, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _name, _node, _sip, YACS::ENGINE::Catalog::_typeMap, _typePort, DEBTRACE, YACS::ENGINE::ElementaryNode::edAddInputPort(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), setErrorMsg(), YACS::HMI::SYNCHRO, YACS::ENGINE::Proc::typeMap, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1261 of file commandsProc.cxx.
References _inputPort, YACS::HMI::GuiContext::_mapOfSubjectDataPort, _name, _node, _sip, DEBTRACE, YACS::HMI::Subject::erase(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ElementaryNode::getInputPort(), 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 274 of file commandsProc.hxx.
Referenced by localExecute().
|
protected |
Definition at line 278 of file commandsProc.hxx.
Referenced by CommandAddInputPortFromCatalog(), getInputPort(), localExecute(), and localReverse().
|
protected |
Definition at line 277 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 276 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 279 of file commandsProc.hxx.
Referenced by CommandAddInputPortFromCatalog(), getSubjectInputPort(), localExecute(), and localReverse().
|
protected |
Definition at line 275 of file commandsProc.hxx.
Referenced by dump(), and localExecute().