05.08.2013 Views

Qt-Interface For Volume Visualization - pille

Qt-Interface For Volume Visualization - pille

Qt-Interface For Volume Visualization - pille

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Thread comparison<br />

• Glib::Thread<br />

– Easy to use<br />

– Use Glib::Thread::create() to instanciate your thread<br />

and simply connect it to destination method of any<br />

object<br />

• QThread<br />

– Precondition is creation circumstantially of new<br />

class that inherits from QThread<br />

– QThreads can “talk with each other” by connection<br />

of signals and slots<br />

– QThreads share data with all other threads within<br />

the process

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!