|
latest version v1.9 - last update 10 Apr 2010 |
|
An instance of this class will be the GUI server object, called gtkServer. More...
#include <ltiGtkServer.h>


Public Member Functions | |
| guiThread () | |
| virtual | ~guiThread () |
| void | start () |
| virtual void | stop () |
Protected Member Functions | |
| virtual void | run () |
| virtual void | cleanUp () |
Static Protected Member Functions | |
| static void | toolkitInit () |
| static void | toolkitMainLoop () |
| static void | waitUntilInitReady () |
| static gint | initializationTimeout (gpointer data) |
| static gint | applicationEnd (gpointer data) |
Static Protected Attributes | |
| static semaphore | initReady |
An instance of this class will be the GUI server object, called gtkServer.
| lti::gtkServer::guiThread::guiThread | ( | ) |
default constructor
| virtual lti::gtkServer::guiThread::~guiThread | ( | ) | [virtual] |
destructor
| static gint lti::gtkServer::guiThread::applicationEnd | ( | gpointer | data | ) | [static, protected] |
Stop the gtk-application.
| virtual void lti::gtkServer::guiThread::cleanUp | ( | ) | [protected, virtual] |
clean up the run() method
Reimplemented from lti::thread.
| static gint lti::gtkServer::guiThread::initializationTimeout | ( | gpointer | data | ) | [static, protected] |
timeout gtk-callback function, called as first when the main-loop has been initialized!
| virtual void lti::gtkServer::guiThread::run | ( | ) | [protected, virtual] |
the job to be independently executed in a new thread
Implements lti::thread.
| void lti::gtkServer::guiThread::start | ( | ) | [virtual] |
wait until the initialization of the gui toolkit is ready
Reimplemented from lti::thread.
| virtual void lti::gtkServer::guiThread::stop | ( | ) | [virtual] |
stop the gui-thread.
Once stopped, it cannot be restarted due to a GDK limitation :-(
Reimplemented from lti::thread.
| static void lti::gtkServer::guiThread::toolkitInit | ( | ) | [static, protected] |
initializes GUI toolkit
| static void lti::gtkServer::guiThread::toolkitMainLoop | ( | ) | [static, protected] |
enters event handling routine of the toolkit
| static void lti::gtkServer::guiThread::waitUntilInitReady | ( | ) | [static, protected] |
wait until initialization of toolkit is ready
semaphore lti::gtkServer::guiThread::initReady [static, protected] |
semaphore used to indicate if initialization is ready