Compression.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Compression.h
00006  *
00007  *  $Id: Compression.h 77390 2007-02-26 13:59:03Z johnnyw $
00008  *
00009  *  Dynamic loader object for Compression
00010  *
00011  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00012  */
00013 //=============================================================================
00014 
00015 #ifndef TAO_COMPRESSION_GIOP_H
00016 #define TAO_COMPRESSION_GIOP_H
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "tao/Compression/compression_export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "tao/Versioned_Namespace.h"
00026 #include "tao/Object_Loader.h"
00027 #include "ace/Service_Config.h"
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 /**
00032  * @class TAO_Compression_Loader
00033  *
00034  * @brief Class that loads the Compression library.
00035  */
00036 
00037 class TAO_Compression_Export TAO_Compression_Loader
00038   : public TAO_Object_Loader
00039 {
00040 public:
00041   /// Creates a Compression Manager and returns it.
00042   virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb, int argc,
00043                                            ACE_TCHAR *argv []);
00044 
00045   /// Used to force the initialization of the ORB code.
00046   static int Initializer (void);
00047 };
00048 
00049 static int
00050   TAO_Requires_Compression_Initializer = TAO_Compression_Loader::Initializer
00051   ();
00052 
00053 TAO_END_VERSIONED_NAMESPACE_DECL
00054 
00055 ACE_STATIC_SVC_DECLARE (TAO_Compression_Loader)
00056 ACE_FACTORY_DECLARE (TAO_Compression, TAO_Compression_Loader)
00057 
00058 #define TAO_COMPRESSION_SAFE_INCLUDE
00059 #include "tao/Compression/CompressionC.h"
00060 #undef TAO_COMPRESSION_SAFE_INCLUDE
00061 
00062 #include /**/ "ace/post.h"
00063 #endif /* TAO_COMPRESSION_GIOP_H */

Generated on Sun Jan 27 13:31:44 2008 for TAO_Compression by doxygen 1.3.6