blob: 6f8f7a1a6ae72e008fa4cfbaff3b71fe09448732 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/* -*- C++ -*- */
// $Id$
// =================================================================
//
// = LIBRARY
// TAO/orbsvcs/TypeCodeFactory_DLL
//
// = FILENAME
// TCF_Loader.cpp
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
//
// =================================================================
#include "TCF_Loader.h"
#include "TypeCodeFactory_i.h"
ACE_RCSID(IFR_Service, TCF_Loader, "$Id$")
TCF_Loader::TCF_Loader (void)
{
}
CORBA::Object_ptr
TCF_Loader::create_object (CORBA::ORB_ptr,
int,
char * [],
CORBA::Environment &)
ACE_THROW_SPEC (())
{
CORBA::Object_ptr obj;
ACE_NEW_RETURN (obj,
TAO_TypeCodeFactory_i,
CORBA::Object::_nil ());
return obj;
}
int
TCF_Loader::Initializer (void)
{
ACE_Service_Config::static_svcs ()->
insert (&ace_svc_desc_TCF_Loader);
return 0;
}
ACE_STATIC_SVC_DEFINE (TCF_Loader,
ACE_TEXT ("TCF_Loader"),
ACE_SVC_OBJ_T,
&ACE_SVC_NAME (TCF_Loader),
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
0)
ACE_FACTORY_DEFINE (TCF, TCF_Loader)
|