3 //=============================================================================
7 * @author Carlos O'Ryan <coryan@uci.edu>
9 //=============================================================================
11 #ifndef TAO_CODECFACTORY_H
12 #define TAO_CODECFACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CodecFactory/codecfactory_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #define TAO_CODECFACTORY_SAFE_INCLUDE
23 #include "tao/CodecFactory/IOP_CodecC.h"
24 #undef TAO_CODECFACTORY_SAFE_INCLUDE
26 #include "tao/Object_Loader.h"
27 #include "ace/Service_Config.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 class TAO_CODECFACTORY_Export TAO_CodecFactory_Loader
32 : public TAO_Object_Loader
35 /// Creates a Codec factory and returns it.
36 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
40 /// Used to force the initialization of the ORB code.
41 static int Initializer ();
45 TAO_Requires_CodecFactory_Initializer
= TAO_CodecFactory_Loader::Initializer ();
47 ACE_STATIC_SVC_DECLARE (TAO_CodecFactory_Loader
)
48 ACE_FACTORY_DECLARE (TAO_CODECFACTORY
, TAO_CodecFactory_Loader
)
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
54 #endif /* TAO_CODECFACTORY_H */