Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "tao/CodecFactory/CodecFactory.h"
00012 #include "tao/CodecFactory/CodecFactory_impl.h"
00013
00014 #include "tao/ORB.h"
00015 #include "tao/debug.h"
00016
00017 ACE_RCSID (CodecFactory,
00018 CodecFactory,
00019 "$Id: CodecFactory.cpp 84281 2009-01-30 15:01:17Z wotte $")
00020
00021 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00022
00023 CORBA::Object_ptr
00024 TAO_CodecFactory_Loader::create_object (CORBA::ORB_ptr orb, int, ACE_TCHAR *[])
00025 {
00026 CORBA::Object_ptr obj = CORBA::Object_ptr ();
00027 ACE_NEW_RETURN (obj,
00028 TAO_CodecFactory (orb->orb_core ()),
00029 CORBA::Object::_nil ());
00030 return obj;
00031 }
00032
00033 int
00034 TAO_CodecFactory_Loader::Initializer (void)
00035 {
00036 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_CodecFactory_Loader);
00037 }
00038
00039 ACE_STATIC_SVC_DEFINE (TAO_CodecFactory_Loader,
00040 ACE_TEXT ("CodecFactory_Loader"),
00041 ACE_SVC_OBJ_T,
00042 &ACE_SVC_NAME (TAO_CodecFactory_Loader),
00043 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00044 0)
00045 ACE_FACTORY_DEFINE (TAO_CodecFactory, TAO_CodecFactory_Loader)
00046
00047 TAO_END_VERSIONED_NAMESPACE_DECL
00048