bool CQMoietiesTaskWidget::runTask() { if (dynamic_cast< CMoietiesTask * >(mpTask) == NULL) return false; if (!commonBeforeRunTask()) return false; return commonRunTask(); }
bool ScanWidget::runTask() { if (!commonBeforeRunTask()) return false; bool success = true; if (!commonRunTask()) success = false; return success; }
bool SteadyStateWidget::runTask() { bool success = true; if (!commonBeforeRunTask()) return false; if (!commonRunTask()) success = false; return success; }
bool CQTrajectoryWidget::runTask() { checkTimeSeries(); if (!commonBeforeRunTask()) return false; bool success = true; if (!commonRunTask()) success = false; return success; }
bool CQCrossSectionTaskWidget::runTask() { commitInput(); if (!commonBeforeRunTask()) return false; bool success = true; if (!commonRunTask()) success = false; return success; }
bool CQLNAWidget::runTask() { CLNATask * pTask = dynamic_cast< CLNATask * >(CCopasiRootContainer::getKeyFactory()->get(mKey)); if (!pTask) return false; if (!commonBeforeRunTask()) return false; bool success = commonRunTask(); return success; }
bool CQFittingWidget::runTask() { CFitTask * pTask = dynamic_cast< CFitTask * >(CCopasiRootContainer::getKeyFactory()->get(mKey)); if (!pTask) return false; mnParamterSetsBeforeRun = pTask->getObjectDataModel()->getModel()->getModelParameterSets().size(); if (!commonBeforeRunTask()) return false; bool success = commonRunTask(); return success; }
bool CQOptimizationWidget::runTask() { // --- expression mpExpressionEMW->updateWidget(); // ---- COptTask * pTask = dynamic_cast< COptTask * >(CCopasiRootContainer::getKeyFactory()->get(mKey)); if (!pTask) return false; if (!commonBeforeRunTask()) return false; return commonRunTask(); }
bool CQTSSAWidget::runTask() { assert(CCopasiRootContainer::getDatamodelList()->size() > 0); pCTSSATask = dynamic_cast<CTSSATask *>(&CCopasiRootContainer::getDatamodelList()->operator[](0).getTaskList()->operator[]("Time Scale Separation Analysis")); if (!pCTSSATask) return false; pTSSMethod = dynamic_cast<CTSSAMethod*>(pCTSSATask->getMethod()); if (!pTSSMethod) pTSSMethod->emptyVectors(); if (!commonBeforeRunTask()) return false; bool success = true; if (!commonRunTask()) success = false; return success; }