fw4spl
WorkerQt.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWGUIQT_WORKERQT_HPP__
8 #define __FWGUIQT_WORKERQT_HPP__
9 
10 #include "fwGuiQt/config.hpp"
11 
12 #include <fwCore/base.hpp>
13 
14 namespace fwThread
15 {
16 class Worker;
17 } //namespace fwThread
18 
19 
20 
21 namespace fwGuiQt
22 {
23 
24 //-----------------------------------------------------------------------------
25 
26 FWGUIQT_API SPTR(::fwThread::Worker) getQtWorker(int& argc, char **argv, bool guiEnabled = true);
27 
28 //-----------------------------------------------------------------------------
29 
30 } //namespace fwGui
31 
32 #endif /*__FWGUIQT_WORKERQT_HPP__*/
33 
#define SPTR(_cls_)
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
Definition: WindowLevel.hpp:32
This class creates and manages a task loop. The default implementation create a loop in a new thread...
Definition: Worker.hpp:32
This namespace fwThread provides few tools to execute asynchronous tasks on different threads...