DynamicAny.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    DynamicAny.h
00006  *
00007  *  $Id: DynamicAny.h 76995 2007-02-11 12:51:42Z johnnyw $
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 
00044   /// Used to force the initialization of the ORB code.
00045   static int Initializer (void);
00046 };
00047 
00048 static int
00049 TAO_Requires_DynamicAny_Initializer = TAO_DynamicAny_Loader::Initializer ();
00050 
00051 TAO_END_VERSIONED_NAMESPACE_DECL
00052 
00053 ACE_STATIC_SVC_DECLARE (TAO_DynamicAny_Loader)
00054 ACE_FACTORY_DECLARE (TAO_DynamicAny, TAO_DynamicAny_Loader)
00055 
00056 #include /**/ "ace/post.h"
00057 #endif /* TAO_DYNAMICANY_H */

Generated on Sun Jan 27 13:36:28 2008 for TAO_DynamicAny by doxygen 1.3.6