#include <GuiExecutor.hxx>


Public Member Functions | |
| GuiExecutor (YACS::ENGINE::Proc *proc) | |
| virtual | ~GuiExecutor () |
| void | closeContext () |
| void | startResumeDataflow (bool initialize=false) |
| bool | checkEndOfDataflow (bool display=true) |
| void | killDataflow () |
| void | suspendDataflow () |
| void | resumeDataflow () |
| void | stopDataflow () |
| void | resetDataflow () |
| void | setStepByStepMode () |
| void | setContinueMode () |
| void | setBreakpointMode () |
| void | setStopOnError (bool aMode) |
| void | unsetStopOnError () |
| void | saveState (const std::string &xmlFile) |
| void | setLoadStateFile (std::string xmlFile) |
| YACS_ORB::executionMode | getCurrentExecMode () |
| int | getExecutorState () |
| void | setBreakpointList (std::list< std::string > breakpointList) |
| void | addBreakpoint (std::string breakpoint) |
| void | removeBreakpoint (std::string breakpoint) |
| void | setNextStepList (std::list< std::string > nextStepList) |
| void | setInPortValue (YACS::ENGINE::DataPort *port, std::string value) |
| void | registerStatusObservers () |
| bool | isRunning () const |
| bool | isStopOnError () const |
| void | setEngineRef (YACS_ORB::YACS_Gen_ptr ref) |
| YACS::ENGINE::Proc * | getProc () |
| std::string | getErrorDetails (YACS::ENGINE::Node *node) |
| std::string | getErrorReport (YACS::ENGINE::Node *node) |
| std::string | getContainerLog () |
| std::string | getContainerLog (YACS::ENGINE::Node *node) |
| void | shutdownProc () |
| void | setShutdownLevel (int level) |
| int | getShutdownLevel () |
| YACS::ExecutorState | updateSchema (std::string jobState) |
| virtual bool | event (QEvent *e) |
Protected Member Functions | |
| void | setBPList () |
Protected Attributes | |
| YACS::ENGINE::Proc * | _proc |
| QtGuiContext * | _context |
| YACS_ORB::YACS_Gen_var | _engineRef |
| YACS_ORB::ProcExec_var | _procRef |
| YACS_ORB::Observer_var | _observerRef |
| YACS::ExecutionMode | _execMode |
| GuiObserver_i * | _serv |
| bool | _isRunning |
| bool | _isSuspended |
| bool | _isStopOnError |
| int | _shutdownLevel |
| std::list< std::string > | _breakpointList |
| std::string | _loadStateFile |
Definition at line 46 of file GuiExecutor.hxx.
| GuiExecutor::GuiExecutor | ( | YACS::ENGINE::Proc * | proc | ) |
Definition at line 46 of file GuiExecutor.cxx.
References driver_internal::_proc, YACS::CONTINUE, and DEBTRACE.
|
virtual |
Definition at line 74 of file GuiExecutor.cxx.
References DEBTRACE.
| void GuiExecutor::addBreakpoint | ( | std::string | breakpoint | ) |
Definition at line 348 of file GuiExecutor.cxx.
References YACS::CONTINUE, and DEBTRACE.
Referenced by YACS::HMI::SchemaNodeItem::toggleState().
| bool GuiExecutor::checkEndOfDataflow | ( | bool | display = true | ) |
| void GuiExecutor::closeContext | ( | ) |
Definition at line 79 of file GuiExecutor.cxx.
References DEBTRACE.
|
virtual |
Definition at line 498 of file GuiExecutor.cxx.
References DEBTRACE, YACS::ENGINE::Node::getLocalInputPorts(), YACS::ENGINE::Node::getLocalOutputPorts(), YACS::HMI::SubjectNode::getName(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::YACSEvent::getYACSEvent(), yacsorb.CORBAEngineTest::i, YACS::PAUSED, YACS::HMI::PROGRESS, YACS::HMI::SubjectDataPort::setExecValue(), YACS::HMI::Subject::setProgress(), yacsorb.CORBAEngineTest::state, YACS::HMI::Subject::update(), YACS::HMI::SubjectNode::update(), YACS::HMI::UPDATEPROGRESS, YACS::WAITINGTASKS, and YASSERT.
| std::string GuiExecutor::getContainerLog | ( | ) |
| std::string GuiExecutor::getContainerLog | ( | YACS::ENGINE::Node * | node | ) |
Definition at line 459 of file GuiExecutor.cxx.
References DEBTRACE, and YACS::ENGINE::Node::getNumId().
| YACS_ORB::executionMode GuiExecutor::getCurrentExecMode | ( | ) |
Definition at line 306 of file GuiExecutor.cxx.
References YACS_ORB::CONTINUE, YACS::CONTINUE, DEBTRACE, YACS_ORB::STEPBYSTEP, YACS::STEPBYSTEP, YACS_ORB::STOPBEFORENODES, and YACS::STOPBEFORENODES.
| std::string GuiExecutor::getErrorDetails | ( | YACS::ENGINE::Node * | node | ) |
Definition at line 421 of file GuiExecutor.cxx.
References DEBTRACE, and YACS::ENGINE::Node::getNumId().
| std::string GuiExecutor::getErrorReport | ( | YACS::ENGINE::Node * | node | ) |
Definition at line 432 of file GuiExecutor.cxx.
References DEBTRACE, and YACS::ENGINE::Node::getNumId().
Referenced by YACS::HMI::EditionProc::update().
| int GuiExecutor::getExecutorState | ( | ) |
Definition at line 318 of file GuiExecutor.cxx.
References DEBTRACE, YACS::FINISHED, and YACS::NOTYETINITIALIZED.
|
inline |
|
inline |
Definition at line 93 of file GuiExecutor.hxx.
References _shutdownLevel.
Referenced by YACS::HMI::EditionProc::EditionProc().
|
inline |
|
inline |
| void GuiExecutor::killDataflow | ( | ) |
| void GuiExecutor::registerStatusObservers | ( | ) |
Definition at line 386 of file GuiExecutor.cxx.
References driver_internal::_proc, and DEBTRACE.
| void GuiExecutor::removeBreakpoint | ( | std::string | breakpoint | ) |
Definition at line 365 of file GuiExecutor.cxx.
References DEBTRACE.
Referenced by YACS::HMI::SchemaNodeItem::toggleState().
| void GuiExecutor::resetDataflow | ( | ) |
Definition at line 217 of file GuiExecutor.cxx.
References DEBTRACE, and YACS_ORB::STEPBYSTEP.
| void GuiExecutor::resumeDataflow | ( | ) |
Definition at line 200 of file GuiExecutor.cxx.
References DEBTRACE.
| void GuiExecutor::saveState | ( | const std::string & | xmlFile | ) |
Definition at line 285 of file GuiExecutor.cxx.
References DEBTRACE, YACS::FINISHED, and YACS::NOTYETINITIALIZED.
|
protected |
Definition at line 574 of file GuiExecutor.cxx.
References DEBTRACE, and yacsorb.CORBAEngineTest::i.
| void GuiExecutor::setBreakpointList | ( | std::list< std::string > | breakpointList | ) |
| void GuiExecutor::setBreakpointMode | ( | ) |
Definition at line 252 of file GuiExecutor.cxx.
References DEBTRACE, YACS_ORB::STOPBEFORENODES, and YACS::STOPBEFORENODES.
| void GuiExecutor::setContinueMode | ( | ) |
Definition at line 244 of file GuiExecutor.cxx.
References YACS_ORB::CONTINUE, YACS::CONTINUE, and DEBTRACE.
| void GuiExecutor::setEngineRef | ( | YACS_ORB::YACS_Gen_ptr | ref | ) |
| void GuiExecutor::setInPortValue | ( | YACS::ENGINE::DataPort * | port, |
| std::string | value | ||
| ) |
Definition at line 482 of file GuiExecutor.cxx.
References DEBTRACE, YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::DataPort::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Port::getNode(), and YACS::ENGINE::Node::getRootNode().
Referenced by YACS::HMI::EditionElementaryNode::onCommitData(), and YACS::HMI::TreeView::onCommitData().
| void GuiExecutor::setLoadStateFile | ( | std::string | xmlFile | ) |
Definition at line 299 of file GuiExecutor.cxx.
References DEBTRACE.
Referenced by YACS::HMI::GenericGui::onRunLoadedSchema().
| void GuiExecutor::setNextStepList | ( | std::list< std::string > | nextStepList | ) |
Definition at line 372 of file GuiExecutor.cxx.
References DEBTRACE, and yacsorb.CORBAEngineTest::i.
|
inline |
Definition at line 92 of file GuiExecutor.hxx.
References _shutdownLevel.
Referenced by YACS::HMI::EditionProc::onLevelChange().
| void GuiExecutor::setStepByStepMode | ( | ) |
Definition at line 236 of file GuiExecutor.cxx.
References DEBTRACE, YACS_ORB::STEPBYSTEP, and YACS::STEPBYSTEP.
| void GuiExecutor::setStopOnError | ( | bool | aMode | ) |
Definition at line 260 of file GuiExecutor.cxx.
References DEBTRACE.
Referenced by YACS::HMI::GenericGui::onRunLoadedSchema().
| void GuiExecutor::shutdownProc | ( | ) |
| void GuiExecutor::startResumeDataflow | ( | bool | initialize = false | ) |
Definition at line 85 of file GuiExecutor.cxx.
References yacsorb.CORBAEngineTest::comp, DEBTRACE, YACS::ENGINE::RuntimeSALOME::getOrb(), YACS::ENGINE::getSALOMERuntime(), orb, YACS_ORB::STEPBYSTEP, and YASSERT.
Referenced by YACS::HMI::GenericGui::onRunLoadedSchema().
| void GuiExecutor::stopDataflow | ( | ) |
| void GuiExecutor::suspendDataflow | ( | ) |
| void GuiExecutor::unsetStopOnError | ( | ) |
| YACS::ExecutorState GuiExecutor::updateSchema | ( | std::string | jobState | ) |
Definition at line 588 of file GuiExecutor.cxx.
References driver_internal::_proc, YACS::ACTIVATED, YACS::DONE, YACS::FAILED, YACS::FINISHED, YACS::ENGINE::Node::getLocalInputPorts(), YACS::ENGINE::Node::getLocalOutputPorts(), YACS::HMI::SubjectNode::getNode(), YACS::LOADED, YACS::NOTYETINITIALIZED, YACS::PAUSED, YACS::RUNNING, YACS::HMI::SubjectDataPort::setExecValue(), yacsorb.CORBAEngineTest::state, YACS::SUSPENDED, YACS::HMI::Subject::update(), YACS::HMI::SubjectNode::update(), YACS::HMI::UPDATEPROGRESS, and YASSERT.
Referenced by YACS::HMI::BatchJobsListDialog::get_dump_file().
|
protected |
Definition at line 117 of file GuiExecutor.hxx.
|
protected |
Definition at line 103 of file GuiExecutor.hxx.
|
protected |
Definition at line 105 of file GuiExecutor.hxx.
|
protected |
Definition at line 109 of file GuiExecutor.hxx.
|
protected |
Definition at line 112 of file GuiExecutor.hxx.
Referenced by isRunning().
|
protected |
Definition at line 114 of file GuiExecutor.hxx.
Referenced by isStopOnError().
|
protected |
Definition at line 113 of file GuiExecutor.hxx.
|
protected |
Definition at line 118 of file GuiExecutor.hxx.
|
protected |
Definition at line 107 of file GuiExecutor.hxx.
|
protected |
Definition at line 102 of file GuiExecutor.hxx.
Referenced by getProc().
|
protected |
Definition at line 106 of file GuiExecutor.hxx.
|
protected |
Definition at line 110 of file GuiExecutor.hxx.
|
protected |
Definition at line 115 of file GuiExecutor.hxx.
Referenced by getShutdownLevel(), and setShutdownLevel().