blob: 75ca24a18cdff1ee9ffd6522651f86a972ab906b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
//$Id$
#include "FlResource_Factory.h"
#include "debug.h"
#include "ace/FlReactor.h"
ACE_RCSID( TAO_FlResource,
FlResource_Factory,
"$Id$");
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
FlResource_Factory::FlResource_Factory (void)
: reactor_impl_( 0 )
{
}
ACE_Reactor_Impl *
FlResource_Factory::reactor_impl (void)
{
// synchronized by external locks
if (!this->reactor_impl_)
{
ACE_NEW_RETURN (this->reactor_impl_,
ACE_FlReactor (),
0);
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - ACE_FlReactor created \n"));
}
return this->reactor_impl_;
}
}
TAO_END_VERSIONED_NAMESPACE_DECL
|