3 // ===================================================================
5 * @file Compressor_Factory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
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)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Compression/Compression.h"
23 #include "tao/LocalObject.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_Compression_Export CompressorFactory
:
30 public virtual ::Compression::CompressorFactory
,
31 public virtual ::CORBA::LocalObject
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;
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 */