Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / FlResource / FlResource_Factory.cpp
blob5d1f212ba8e3b420c441f8970fea1472ac0abef3
1 // -*- C++ -*-
2 #include "tao/FlResource/FlResource_Factory.h"
3 #include "tao/debug.h"
4 #include "ace/FlReactor/FlReactor.h"
6 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
8 namespace TAO
10 FlResource_Factory::FlResource_Factory ()
11 : reactor_impl_( 0 )
15 ACE_Reactor_Impl *
16 FlResource_Factory::reactor_impl ()
18 // synchronized by external locks
19 if (!this->reactor_impl_)
21 ACE_NEW_RETURN (this->reactor_impl_,
22 ACE_FlReactor (),
23 0);
25 if (TAO_debug_level > 0)
26 TAOLIB_DEBUG ((LM_DEBUG,
27 "TAO (%P|%t) - ACE_FlReactor created\n"));
30 return this->reactor_impl_;
34 TAO_END_VERSIONED_NAMESPACE_DECL