TAO::FlResource_Loader Class Reference

Loads TAO resources related with Fl. More...

#include <FlResource_Loader.h>

List of all members.

Public Member Functions

 FlResource_Loader (void)
virtual ~FlResource_Loader (void)


Detailed Description

Loads TAO resources related with Fl.

This class changes the default reactor implementation into ACE_FlReactor 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 Fl event loop.

Please notice, this class has to be created in the main Fl thread, because set_gui_resource_factory creates a variable in TSS. This way FlReactor is instantiated only in Qt event loop thread.

Definition at line 45 of file FlResource_Loader.h.


Constructor & Destructor Documentation

TAO::FlResource_Loader::FlResource_Loader void   ) 
 

Definition at line 14 of file FlResource_Loader.cpp.

References ACE_NEW, and TAO_ORB_Core::set_gui_resource_factory().

00015   {
00016     FlResource_Factory *tmp = 0;
00017 
00018     ACE_NEW (tmp,
00019              FlResource_Factory ());
00020 
00021     TAO_ORB_Core::set_gui_resource_factory (tmp);
00022   }

TAO::FlResource_Loader::~FlResource_Loader void   )  [virtual]
 

Definition at line 24 of file FlResource_Loader.cpp.

00025   {
00026   }


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