COPASI API  4.16.103
CQTaskThread.cpp
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #include "copasi.h"
8 #include "TaskWidget.h"
9 
10 #include "CQTaskThread.h"
11 
13  QThread(),
14  mpTaskWidget(tw),
15  mSuccess(false)
16 {}
17 
19 {
20 }
21 
23 {
24  try
25  {
27  }
28  catch (CCopasiException & /*Exception*/)
29  {
30  mSuccess = false;
31  }
32 }
33 
34 const bool & CQTaskThread::success() const
35 {
36  return mSuccess;
37 }
CCopasiTask * getTask()
Definition: TaskWidget.cpp:513
virtual void run()
CQTaskThread(TaskWidget *tw)
virtual bool process(const bool &useInitialValues)
const bool & success() const
TaskWidget * mpTaskWidget
Definition: CQTaskThread.h:27