Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / ZIOP / TestCompressor / TestCompressor_Factory.h
blob61445b5e13af0eb3a673fb23cfaf74b2c5a29db1
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file TestCompressor_Factory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 // ===================================================================
11 #ifndef TAO_TESTCOMPRESSOR_FACTORY_H
12 #define TAO_TESTCOMPRESSOR_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "TestCompressor_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/Compression/Compressor_Factory.h"
25 #define COMPRESSORID_FOR_TESTING 100
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 namespace TAO
31 class TAO_TESTCOMPRESSOR_Export Test_CompressorFactory :
32 public ::TAO::CompressorFactory
34 public:
35 Test_CompressorFactory (void);
37 virtual ::Compression::Compressor_ptr get_compressor (
38 ::Compression::CompressionLevel compression_level);
39 private:
40 ::Compression::Compressor_var compressor_;
44 TAO_END_VERSIONED_NAMESPACE_DECL
46 #include /**/ "ace/post.h"
48 #endif /* TAO_TESTCOMPRESSOR_FACTORY_H */