=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tao / PI / PolicyFactory_Loader.cpp
blob38164a13173637e0f5c36e54b21b63d412e115d6
1 /* -*- C++ -*- */
3 // =================================================================
4 /**
5 * @file PolicyFactory_Loader.cpp
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 // =================================================================
11 #include "tao/PI/PolicyFactory_Loader.h"
12 #include "tao/PI/PolicyFactory_Registry.h"
14 #include "tao/ORB.h"
15 #include "tao/debug.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
19 TAO::PolicyFactory_Registry_Adapter*
20 TAO_PolicyFactory_Loader::create ()
22 TAO::PolicyFactory_Registry_Adapter* obj = nullptr;
23 ACE_NEW_RETURN (obj,
24 TAO_PolicyFactory_Registry,
25 nullptr);
26 return obj;
29 int
30 TAO_PolicyFactory_Loader::Initializer ()
32 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_PolicyFactory_Loader);
36 ACE_STATIC_SVC_DEFINE (TAO_PolicyFactory_Loader,
37 ACE_TEXT ("PolicyFactory_Loader"),
38 ACE_SVC_OBJ_T,
39 &ACE_SVC_NAME (TAO_PolicyFactory_Loader),
40 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
42 ACE_FACTORY_DEFINE (TAO_PI, TAO_PolicyFactory_Loader)
44 TAO_END_VERSIONED_NAMESPACE_DECL