TAO::XtResource_Loader Class Reference

Loads TAO resources related with Xt. More...

#include <XtResource_Loader.h>

List of all members.

Public Member Functions

 XtResource_Loader (XtAppContext context)
virtual ~XtResource_Loader ()


Detailed Description

Loads TAO resources related with Xt.

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.


Constructor & Destructor Documentation

TAO::XtResource_Loader::XtResource_Loader XtAppContext  context  ) 
 

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   }

TAO::XtResource_Loader::~XtResource_Loader  )  [virtual]
 

Definition at line 23 of file XtResource_Loader.cpp.

00024   {
00025   }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:27:36 2006 for TAO by doxygen 1.3.6