diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/Mem_Map/IO-tests/IO_Test.h | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'examples/Mem_Map/IO-tests/IO_Test.h')
-rw-r--r-- | examples/Mem_Map/IO-tests/IO_Test.h | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/examples/Mem_Map/IO-tests/IO_Test.h b/examples/Mem_Map/IO-tests/IO_Test.h deleted file mode 100644 index 38e73778edc..00000000000 --- a/examples/Mem_Map/IO-tests/IO_Test.h +++ /dev/null @@ -1,96 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -/* Class hierarchy for the File I/O tests. */ - -#include "ace/Profile_Timer.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -/* Base class for all the File I/O tests. */ - -class IO_Test -{ -public: - // Initialize the test name - IO_Test (const char *name, - ACE_Profile_Timer &tm); - - // Return the name of the test - const char *name (void); - - // Execute the IO test (note this is a pure virtual function...) - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp) = 0; - -protected: - // Name of the test - const char *name_; - - // Reference to a timer - ACE_Profile_Timer &tm_; -}; - -class Slow_Read_Write_Test : public IO_Test -{ -public: - Slow_Read_Write_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - -class Stdio_Test : public IO_Test -{ -public: - Stdio_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - -class Block_Read_Write_Test : public IO_Test -{ -public: - Block_Read_Write_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - -class Block_Fread_Fwrite_Test : public IO_Test -{ -public: - Block_Fread_Fwrite_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - -class Mmap1_Test : public IO_Test -{ -public: - Mmap1_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - -class Mmap2_Test : public IO_Test -{ -public: - Mmap2_Test (const char *name, - ACE_Profile_Timer &tm); - virtual int run_test (int iterations, - FILE *input_fp, - FILE *output_fp); -}; - |