COPASI API  4.16.103
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CQThread Class Reference

#include <CQThread.h>

Inheritance diagram for CQThread:
Inheritance graph
[legend]
Collaboration diagram for CQThread:
Collaboration graph
[legend]

Public Member Functions

 CQThread (DataModelGUI *pClass, void(DataModelGUI::*pMethod)())
 
virtual void run ()
 
 ~CQThread ()
 

Private Member Functions

 CQThread ()
 

Private Attributes

DataModelGUImpClass
 
void(DataModelGUI::* mpMethod )()
 

Detailed Description

Definition at line 12 of file CQThread.h.

Constructor & Destructor Documentation

CQThread::CQThread ( )
private

Definition at line 16 of file CQThread.cpp.

16  :
17  QThread(),
18  mpClass(NULL),
19  mpMethod(NULL)
20 {}
void(DataModelGUI::* mpMethod)()
Definition: CQThread.h:28
DataModelGUI * mpClass
Definition: CQThread.h:27
CQThread::CQThread ( DataModelGUI pClass,
void(DataModelGUI::*)()  pMethod 
)

Definition at line 22 of file CQThread.cpp.

22  :
23  QThread(),
24  mpClass(pClass),
25  mpMethod(pMethod)
26 {}
void(DataModelGUI::* mpMethod)()
Definition: CQThread.h:28
DataModelGUI * mpClass
Definition: CQThread.h:27
CQThread::~CQThread ( )

Definition at line 28 of file CQThread.cpp.

29 {}

Member Function Documentation

void CQThread::run ( )
virtual

Definition at line 32 of file CQThread.cpp.

References mpClass, and mpMethod.

33 {
34  try
35  {
36  (*mpClass.*mpMethod)();
37  }
38 
39  catch (...)
40  {}
41 }
void(DataModelGUI::* mpMethod)()
Definition: CQThread.h:28
DataModelGUI * mpClass
Definition: CQThread.h:27

Member Data Documentation

DataModelGUI* CQThread::mpClass
private

Definition at line 27 of file CQThread.h.

Referenced by run().

void(DataModelGUI::* CQThread::mpMethod)()
private

Definition at line 28 of file CQThread.h.

Referenced by run().


The documentation for this class was generated from the following files: