3 // ===================================================================
5 * @file Compression_Manager.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 // ===================================================================
11 #ifndef TAO_COMPRESSION_MANAGER_H
12 #define TAO_COMPRESSION_MANAGER_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 CompressionManager
:
30 public virtual ::Compression::CompressionManager
,
31 public virtual ::CORBA::LocalObject
34 virtual ~CompressionManager ();
36 virtual void register_factory (::Compression::CompressorFactory_ptr
39 virtual void unregister_factory (::Compression::CompressorId
42 virtual ::Compression::CompressorFactory_ptr get_factory
43 (::Compression::CompressorId compressor_id
);
45 virtual ::Compression::Compressor_ptr get_compressor
46 (::Compression::CompressorId compressor_id
,
47 ::Compression::CompressionLevel compression_level
);
49 virtual ::Compression::CompressorFactorySeq
*get_factories ();
52 TAO_SYNCH_MUTEX mutex_
;
53 ::Compression::CompressorFactorySeq factories_
;
57 TAO_END_VERSIONED_NAMESPACE_DECL
59 #include /**/ "ace/post.h"
60 #endif /* TAO_COMPRESSION_MANAGER_H */