3 //=============================================================================
5 * @file FlResource_Factory.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 * @author Marek Brudka <mbrudka@aster.pl>
10 //=============================================================================
11 #ifndef TAO_FLRESOURCE_FACTORY_H
12 #define TAO_FLRESOURCE_FACTORY_H
13 #include /**/ "ace/pre.h"
15 #include "tao/FlResource/TAO_FlResource_Export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/FlReactor/FlReactor.h"
22 #include "tao/GUIResource_Factory.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 * @class FlResource_Factory
31 * @brief TAO_GUI_Resource_Factory for creating FlReactor.
33 * This factory is intended for creating FlReactor for ORB. This
34 * factory can be feed into ORB using
35 * TAO_ORB_Core::set_gui_resource_factory method which is usually
36 * done by TAO_FlResource_Loader.
39 class TAO_FlResource_Export FlResource_Factory
: public GUIResource_Factory
42 FlResource_Factory ();
45 /// Create or obtain current reactor implementation
46 virtual ACE_Reactor_Impl
*reactor_impl ();
49 /// Reactor created by this factory.
50 ACE_FlReactor
*reactor_impl_
;
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #include /**/ "ace/post.h"
57 #endif /* TAO_FLRESOURCE_FACTORY_H */