#include <TkResource_Loader.h>
Public Member Functions | |
TkResource_Loader (void) | |
virtual | ~TkResource_Loader (void) |
This class changes the default reactor implementation into ACE_TkReactor 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 Tk event loop.
Please notice, this class has to be created in the main Tk thread, because set_gui_resource_factory creates a variable in TSS. This way TkReactor is instantiated only in Tk event loop thread.
Definition at line 45 of file TkResource_Loader.h.
|
Definition at line 16 of file TkResource_Loader.cpp. References ACE_NEW, and TAO_ORB_Core::set_gui_resource_factory().
00017 { 00018 TkResource_Factory *tmp = 0; 00019 00020 ACE_NEW (tmp, 00021 TkResource_Factory ()); 00022 00023 TAO_ORB_Core::set_gui_resource_factory( tmp ); 00024 } |
|
Definition at line 26 of file TkResource_Loader.cpp.
00027 { 00028 } |