#include <commands.hxx>
Public Member Functions | |
Invocator () | |
void | add (Command *command) |
bool | undo () |
bool | redo () |
std::list< std::string > | getDone () |
std::list< std::string > | getUndone () |
YACS::ENGINE::Proc * | getUndoProc () |
YACS::ENGINE::Catalog * | getUndoCata () |
bool | isSpecialReverse () |
Static Public Attributes | |
static int | _ctr = 0 |
Protected Attributes | |
std::vector< Command * > | _commandsDone |
std::vector< Command * > | _commandsUndone |
std::vector< Command * > | _commandsInProgress |
YACS::ENGINE::Proc * | _undoProc |
YACS::ENGINE::Catalog * | _undoCata |
bool | _isRedo |
bool | _isUndo |
bool | _specialReverse |
Friends | |
class | Command |
Definition at line 56 of file commands.hxx.
Invocator::Invocator | ( | ) |
Definition at line 143 of file commands.cxx.
References YACS::ENGINE::RuntimeSALOME::createProc(), and YACS::ENGINE::getSALOMERuntime().
void Invocator::add | ( | Command * | command | ) |
Definition at line 156 of file commands.cxx.
References DEBTRACE.
Referenced by YACS::HMI::SubjectProc::addComponent(), YACS::HMI::SubjectProc::addComSubjectDataType(), YACS::HMI::SubjectProc::addContainer(), YACS::HMI::SubjectProc::addDataType(), YACS::HMI::SubjectProc::addHPContainer(), YACS::HMI::SubjectElementaryNode::addIDSPort(), YACS::HMI::SubjectElementaryNode::addInputPort(), YACS::HMI::SubjectElementaryNode::addODSPort(), YACS::HMI::SubjectElementaryNode::addOutputPort(), YACS::HMI::SubjectServiceNode::associateToComponent(), YACS::HMI::SubjectComponent::associateToContainer(), YACS::HMI::SubjectNode::copy(), YACS::HMI::SubjectComposedNode::createNode(), YACS::HMI::Subject::destroy(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), YACS::HMI::SubjectNode::putInComposedNode(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), YACS::HMI::SubjectInputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectOutputDataStreamPort::registerUndoDestroy(), YACS::HMI::SubjectNode::registerUndoDestroy(), YACS::HMI::SubjectContainer::registerUndoDestroy(), YACS::HMI::SubjectHPContainer::registerUndoDestroy(), YACS::HMI::SubjectLink::registerUndoDestroy(), YACS::HMI::SubjectControlLink::registerUndoDestroy(), YACS::HMI::SubjectNode::reparent(), YACS::HMI::SubjectOptimizerLoop::setAlgorithm(), YACS::HMI::SubjectSwitch::setCase(), YACS::HMI::SubjectServiceNode::setComponentFromCatalog(), YACS::HMI::SubjectWhileLoop::setCondition(), YACS::HMI::SubjectInlineNode::setContainer(), YACS::HMI::SubjectInlineNode::setExecutionMode(), YACS::HMI::SubjectPyFuncNode::setFunctionName(), YACS::HMI::SubjectDataPort::setName(), YACS::HMI::SubjectNode::setName(), YACS::HMI::SubjectContainerBase::setName(), YACS::HMI::SubjectDynParaLoop::setNbBranches(), YACS::HMI::SubjectForLoop::setNbSteps(), YACS::HMI::SubjectInputDataStreamPort::setProperties(), YACS::HMI::SubjectOutputDataStreamPort::setProperties(), YACS::HMI::SubjectNode::setProperties(), YACS::HMI::SubjectContainerBase::setProperties(), YACS::HMI::SubjectComponent::setProperties(), YACS::HMI::SubjectLink::setProperties(), YACS::HMI::SubjectInlineNode::setScript(), YACS::HMI::SubjectSwitch::setSelect(), YACS::HMI::SubjectInputPort::setValue(), YACS::HMI::SubjectOutputPort::setValue(), YACS::HMI::SubjectDataPort::tryCreateLink(), and YACS::HMI::SubjectNode::tryCreateLink().
std::list< std::string > Invocator::getDone | ( | ) |
Definition at line 270 of file commands.cxx.
References CORBAEngineTest::i.
Referenced by FormUndoRedo::FormUndoRedo().
|
inline |
Definition at line 67 of file commands.hxx.
Referenced by YACS::HMI::SubjectDataPort::registerUndoDestroy().
std::list< std::string > Invocator::getUndone | ( | ) |
Definition at line 279 of file commands.cxx.
References CORBAEngineTest::i.
Referenced by FormUndoRedo::FormUndoRedo().
|
inline |
Definition at line 66 of file commands.hxx.
Referenced by YACS::HMI::SubjectNode::registerUndoDestroy().
|
inline |
Definition at line 68 of file commands.hxx.
bool Invocator::redo | ( | ) |
Definition at line 227 of file commands.cxx.
References DEBTRACE, CORBAEngineTest::i, and PMMLBasicsTestLauncher::ret.
bool Invocator::undo | ( | ) |
Definition at line 178 of file commands.cxx.
References DEBTRACE, CORBAEngineTest::i, and PMMLBasicsTestLauncher::ret.
|
friend |
Definition at line 58 of file commands.hxx.
|
protected |
Definition at line 72 of file commands.hxx.
|
protected |
Definition at line 74 of file commands.hxx.
|
protected |
Definition at line 73 of file commands.hxx.
|
static |
Definition at line 68 of file commands.hxx.
Referenced by YACS::HMI::SubjectNode::registerUndoDestroy().
|
protected |
Definition at line 77 of file commands.hxx.
|
protected |
Definition at line 78 of file commands.hxx.
|
protected |
Definition at line 79 of file commands.hxx.
|
protected |
Definition at line 76 of file commands.hxx.
|
protected |
Definition at line 75 of file commands.hxx.