#include <commandsProc.hxx>
Public Member Functions | |
CommandAddODSPortFromCatalog (YACS::ENGINE::Catalog *catalog, std::string type, std::string node, std::string name) | |
YACS::ENGINE::OutputDataStreamPort * | getODSPort () |
SubjectOutputDataStreamPort * | getSubjectODSPort () |
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::OutputDataStreamPort * | _ODSPort |
SubjectOutputDataStreamPort * | _sop |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 324 of file commandsProc.hxx.
CommandAddODSPortFromCatalog::CommandAddODSPortFromCatalog | ( | YACS::ENGINE::Catalog * | catalog, |
std::string | type, | ||
std::string | node, | ||
std::string | name | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 1508 of file commandsProc.cxx.
References _name, _node, _typePort, and PMMLBasicsTestLauncher::ret.
YACS::ENGINE::OutputDataStreamPort * CommandAddODSPortFromCatalog::getODSPort | ( | ) |
Definition at line 1514 of file commandsProc.cxx.
References _ODSPort.
SubjectOutputDataStreamPort * CommandAddODSPortFromCatalog::getSubjectODSPort | ( | ) |
Definition at line 1519 of file commandsProc.cxx.
References _sop.
Referenced by YACS::HMI::SubjectElementaryNode::addODSPort().
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 1524 of file commandsProc.cxx.
References _catalog, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectNode, _name, _node, _ODSPort, _sop, YACS::ENGINE::Catalog::_typeMap, _typePort, DEBTRACE, YACS::ENGINE::ElementaryNode::edAddOutputDataStreamPort(), 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 1558 of file commandsProc.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectDataPort, _name, _node, _ODSPort, _sop, DEBTRACE, YACS::HMI::Subject::erase(), YACS::ENGINE::ComposedNode::getChildByName(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ElementaryNode::getOutputDataStreamPort(), 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 337 of file commandsProc.hxx.
Referenced by localExecute().
|
protected |
Definition at line 340 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 339 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 341 of file commandsProc.hxx.
Referenced by CommandAddODSPortFromCatalog(), getODSPort(), localExecute(), and localReverse().
|
protected |
Definition at line 342 of file commandsProc.hxx.
Referenced by CommandAddODSPortFromCatalog(), getSubjectODSPort(), localExecute(), and localReverse().
|
protected |
Definition at line 338 of file commandsProc.hxx.
Referenced by dump(), and localExecute().