Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Compression / Compressor_Factory.h
blobe545cc34ec08a7da7c3fe7adc247ff9bc01978ea
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file Compressor_Factory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 // ===================================================================
11 #ifndef TAO_COMPRESSOR_FACTORY_H
12 #define TAO_COMPRESSOR_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Compression/compression_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Compression/Compression.h"
23 #include "tao/LocalObject.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 namespace TAO
29 class TAO_Compression_Export CompressorFactory :
30 public virtual ::Compression::CompressorFactory,
31 public virtual ::CORBA::LocalObject
33 public:
34 CompressorFactory (::Compression::CompressorId compressor_id);
36 virtual ::Compression::CompressorId compressor_id ();
38 virtual ::Compression::Compressor_ptr get_compressor
39 (::Compression::CompressionLevel compression_level) = 0;
41 private:
42 ::Compression::CompressorId const compressor_id_;
44 CompressorFactory (const CompressorFactory &) = delete;
45 CompressorFactory &operator = (const CompressorFactory &) = delete;
49 TAO_END_VERSIONED_NAMESPACE_DECL
51 #include /**/ "ace/post.h"
53 #endif /* TAO_COMPRESSOR_FACTORY_H */