![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/PluginFramework/service/application/ctkApplicationLauncher.h>
Public Member Functions | |
virtual void | launch (ctkApplicationRunnable *app, const QVariant &applicationContext)=0 |
virtual void | shutdown ()=0 |
virtual | ~ctkApplicationLauncher () |
A ctkApplicationLauncher is used to launch ctkApplicationRunnable objects using the main thread.
This class is for use by platform-related plug-ins which implement application containers. Clients outside of the base platform should not reference or subclass this class.
Definition at line 39 of file ctkApplicationLauncher.h.
|
inlinevirtual |
Definition at line 41 of file ctkApplicationLauncher.h.
|
pure virtual |
Launches the specified runnable using the main thread.
runnable | a ParameterizedRunnalbe to run on the main thread. |
context | the context to launch the runnable with |
|
pure virtual |
Forces the current runnable which is running to be stopped. This method will return after the currently running ctkApplicationRunnable has completely stopped.
After this method returns this ctkApplicationLauncher will no longer allow applications to be launched.