TAO::FlResource_Factory Class Reference

TAO_GUI_Resource_Factory for creating FlReactor. More...

#include <FlResource_Factory.h>

Inheritance diagram for TAO::FlResource_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO::FlResource_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FlResource_Factory ()

Protected Member Functions

virtual ACE_Reactor_Implreactor_impl (void)
 Create or obtain current reactor implementation.


Private Attributes

ACE_FlReactorreactor_impl_
 Reactor created by this factory.


Detailed Description

TAO_GUI_Resource_Factory for creating FlReactor.

This factory is intended for creating FlReactor for ORB. This factory can be feed into ORB using TAO_ORB_Core::set_gui_resource_factory method which is usually done by TAO_FlResource_Loader.

Definition at line 41 of file FlResource_Factory.h.


Constructor & Destructor Documentation

TAO::FlResource_Factory::FlResource_Factory  ) 
 

Definition at line 15 of file FlResource_Factory.cpp.

00016     : reactor_impl_( 0 )
00017   {
00018   }


Member Function Documentation

ACE_Reactor_Impl * TAO::FlResource_Factory::reactor_impl void   )  [protected, virtual]
 

Create or obtain current reactor implementation.

Implements TAO::GUIResource_Factory.

Definition at line 21 of file FlResource_Factory.cpp.

References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, reactor_impl_, and TAO_debug_level.

00022   {
00023     // synchronized by external locks
00024     if (!this->reactor_impl_)
00025     {
00026       ACE_NEW_RETURN (this->reactor_impl_,
00027                       ACE_FlReactor (),
00028                       0);
00029 
00030       if (TAO_debug_level > 0)
00031         ACE_DEBUG ((LM_DEBUG,
00032                     "TAO (%P|%t) - ACE_FlReactor created \n"));
00033     }
00034 
00035     return this->reactor_impl_;
00036   }


Member Data Documentation

ACE_FlReactor* TAO::FlResource_Factory::reactor_impl_ [private]
 

Reactor created by this factory.

Definition at line 55 of file FlResource_Factory.h.

Referenced by reactor_impl().


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