#include <XtResource_Loader.h>
Public Member Functions | |
XtResource_Loader (XtAppContext context) | |
virtual | ~XtResource_Loader () |
This class changes the default reactor implementation into ACE_XtReactor 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 Xt event loop.
Please notice, this class has to be created in the main Xt thread, because set_gui_resource_factory creates a variable in TSS. This way XtReactor is instantiated only in Xt event loop thread.
Definition at line 40 of file XtResource_Loader.h.
|
Definition at line 13 of file XtResource_Loader.cpp. References ACE_NEW, and TAO_ORB_Core::set_gui_resource_factory().
00014 { 00015 XtResource_Factory *tmp = 0; 00016 00017 ACE_NEW (tmp, 00018 XtResource_Factory (context)); 00019 00020 TAO_ORB_Core::set_gui_resource_factory( tmp ); 00021 } |
|
Definition at line 23 of file XtResource_Loader.cpp.
00024 { 00025 } |