#include <QtResource_Loader.h>
Public Member Functions | |
QtResource_Loader (QApplication *qapp) | |
virtual | ~QtResource_Loader (void) |
This class changes the default reactor implementation into ACE_QtReactor one by calling TAO_ORB_Core::set_gui_resource_factory. User should create an instance of this class before ORB_init when the TAO server has has to be integrated within Qt event loop.
Please notice, this class has to be created in the main Qt thread, because set_gui_resource_factory creates a variable in TSS. This way QtReactor is instantiated only in Qt event loop thread.
|
|
|
|