3 //=============================================================================
7 * @author Carlos O'Ryan <coryan@uci.edu>
9 //=============================================================================
12 #ifndef TAO_DYNAMICANY_H
13 #define TAO_DYNAMICANY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/DynamicAny/dynamicany_export.h"
18 #define TAO_DYNAMICANY_SAFE_INCLUDE
19 #include "tao/DynamicAny/DynamicAnyC.h"
20 #undef TAO_DYNAMICANY_SAFE_INCLUDE
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/Object_Loader.h"
27 #include "ace/Service_Config.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 class TAO_DynamicAny_Export TAO_DynamicAny_Loader
: public TAO_Object_Loader
35 TAO_DynamicAny_Loader ();
37 /// Creates a DynamicAny factory and returns it.
38 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
42 /// Used to force the initialization of the ORB code.
43 static int Initializer ();
47 TAO_Requires_DynamicAny_Initializer
= TAO_DynamicAny_Loader::Initializer ();
50 ACE_STATIC_SVC_DECLARE (TAO_DynamicAny_Loader
)
51 ACE_FACTORY_DECLARE (TAO_DynamicAny
, TAO_DynamicAny_Loader
)
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
56 #endif /* TAO_DYNAMICANY_H */