Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / FlResource / FlResource_Factory.h
blobe079c8701401f4e23705d7d4ff5182ac3e39dfd7
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file FlResource_Factory.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 * @author Marek Brudka <mbrudka@aster.pl>
9 */
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)
18 # 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
26 namespace TAO
28 /**
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
41 public:
42 FlResource_Factory ();
44 protected:
45 /// Create or obtain current reactor implementation
46 virtual ACE_Reactor_Impl *reactor_impl ();
48 private:
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 */