3 //=============================================================================
5 * @file FoxResource_Factory.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 * @author Marek Brudka <mbrudka@aster.pl>
10 //=============================================================================
11 #ifndef TAO_TOXRESOURCE_FACTORY_H
12 #define TAO_TOXRESOURCE_FACTORY_H
13 #include /**/ "ace/pre.h"
14 #include "ace/FoxReactor/FoxReactor.h"
15 #include "tao/FoxResource/TAO_FoxResource_Export.h"
16 #include "tao/GUIResource_Factory.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class FoxResource_Factory
29 * @brief TAO_GUI_Resource_Factory for creating FoxReactor.
31 * This factory is intended for creating FoxReactor for ORB. This
32 * factory can be feed into ORB using
33 * TAO_ORB_Core::set_gui_resource_factory method which is usually
34 * done by TAO_FoxResource_Loader.
37 class TAO_FoxResource_Export FoxResource_Factory
: public GUIResource_Factory
40 FoxResource_Factory (FXApp
*app
);
43 /// Create or obtain current reactor implementation
44 virtual ACE_Reactor_Impl
*reactor_impl ();
47 /// Reactor created by this factory.
48 ACE_FoxReactor
*reactor_impl_
;
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #include /**/ "ace/post.h"
57 #endif /* TAO_TOXRESOURCE_FACTORY_H */