Compression.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Compression.h
00006  *
00007  *  $Id: Compression.h 81410 2008-04-24 09:22:08Z 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 TAO_END_VERSIONED_NAMESPACE_DECL
00053 
00054 ACE_STATIC_SVC_DECLARE (TAO_Compression_Loader)
00055 ACE_FACTORY_DECLARE (TAO_Compression, TAO_Compression_Loader)
00056 
00057 #define TAO_COMPRESSION_SAFE_INCLUDE
00058 #include "tao/Compression/CompressionC.h"
00059 #undef TAO_COMPRESSION_SAFE_INCLUDE
00060 
00061 #include /**/ "ace/post.h"
00062 #endif /* TAO_COMPRESSION_GIOP_H */

Generated on Tue Feb 2 17:42:31 2010 for TAO_Compression by  doxygen 1.4.7