DynamicAny.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    DynamicAny.h
00006  *
00007  *  DynamicAny.h,v 1.13 2006/03/10 07:19:08 jtc Exp
00008  *
00009  *  @author Carlos O'Ryan <coryan@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_DYNAMICANY_H
00015 #define TAO_DYNAMICANY_H
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/DynamicAny/dynamicany_export.h"
00019 
00020 #define TAO_DYNAMICANY_SAFE_INCLUDE
00021 #include "tao/DynamicAny/DynamicAnyC.h"
00022 #undef TAO_DYNAMICANY_SAFE_INCLUDE
00023 
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 #include "tao/Object_Loader.h"
00029 #include "ace/Service_Config.h"
00030 
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032 
00033 class TAO_DynamicAny_Export TAO_DynamicAny_Loader : public TAO_Object_Loader
00034 {
00035 public:
00036   /// Constructor
00037   TAO_DynamicAny_Loader (void);
00038 
00039   /// Creates a DynamicAny factory and returns it.
00040   virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
00041                                            int argc,
00042                                            ACE_TCHAR *argv []
00043                                            ACE_ENV_ARG_DECL_NOT_USED)
00044     ACE_THROW_SPEC ((CORBA::SystemException));
00045 
00046   /// Used to force the initialization of the ORB code.
00047   static int Initializer (void);
00048 };
00049 
00050 static int
00051 TAO_Requires_DynamicAny_Initializer = TAO_DynamicAny_Loader::Initializer ();
00052 
00053 TAO_END_VERSIONED_NAMESPACE_DECL
00054 
00055 ACE_STATIC_SVC_DECLARE (TAO_DynamicAny_Loader)
00056 ACE_FACTORY_DECLARE (TAO_DynamicAny, TAO_DynamicAny_Loader)
00057 
00058 #include /**/ "ace/post.h"
00059 #endif /* TAO_DYNAMICANY_H */

Generated on Thu Nov 9 13:02:07 2006 for TAO_DynamicAny by doxygen 1.3.6