#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.
Definition at line 47 of file QtResource_Loader.h.
      
  | 
  
| 
 
 Definition at line 14 of file QtResource_Loader.cpp. References ACE_NEW, and TAO_ORB_Core::set_gui_resource_factory(). 
 00015   {
00016     QtResource_Factory *tmp = 0;
00017 
00018     ACE_NEW (tmp,
00019              QtResource_Factory (qapp));
00020 
00021     TAO_ORB_Core::set_gui_resource_factory (tmp);
00022   }
 | 
  
      
  | 
  
| 
 
 Definition at line 24 of file QtResource_Loader.cpp. 
 00025   {
00026   }
 | 
  
 
1.3.6