SimulatorSonarFileRecordFactory.h

Go to the documentation of this file.
00001 #ifndef _SimulatorSonarFileRecordFactory_h
00002 #define _SimulatorSonarFileRecordFactory_h
00003 //==============================================================================
00004 // $Id: SimulatorSonarFileRecordFactory.h,v 1.5 2003/02/26 06:47:49 pfb Exp $
00005 //==============================================================================
00006 
00007 #include <Common/File/SystemRecord.h>
00008 #include <Common/Utility/Misc/Go.h>
00009 #include <Common/Utility/SmartPointer/SmartPointer.h>
00010 #include <Swath-Sonar/Sonar-File/SonarFileServices/SonarFileRecordFactory.h>
00011 
00012 #include <ace/ACE.h>
00013 #include <ace/FILE_IO.h>
00014 #include <ace/FILE_Connector.h>
00015 
00029 class SimulatorSonarFileRecordFactory : public SonarFileRecordFactory
00030   {
00031   //============================================================================
00032                              public:
00033 
00038   SimulatorSonarFileRecordFactory(const LPCTSTR &fqfn);
00039 
00043   ~SimulatorSonarFileRecordFactory();
00044 
00051   SmartPointer<SystemRecord> record();
00052 
00059   bool operator++();
00060 
00061   enum RecordEnumerator
00062     {
00063     DATA_START,
00064     DATA_STOP,
00065     DEPTH,
00066     IMAGE,
00067     POSITION
00068     };
00069 
00070   //============================================================================
00071                              private:
00072 
00076   SimulatorSonarFileRecordFactory(const SimulatorSonarFileRecordFactory&);
00077   SimulatorSonarFileRecordFactory& operator=(
00078     const SimulatorSonarFileRecordFactory&);
00079   };
00080 
00081 //==============================================================================
00082 //
00083 // $Log: SimulatorSonarFileRecordFactory.h,v $
00084 // Revision 1.5  2003/02/26 06:47:49  pfb
00085 // Work over of the guard defines.
00086 //
00087 // Revision 1.4  2000/06/11 04:03:26  pfb
00088 // Comment change.
00089 //
00090 // Revision 1.3  2000/05/23 10:16:40  pfb
00091 // Post PT changes.
00092 //
00093 // Revision 1.2  2000/05/08 07:52:06  pfb
00094 // Added eof() and changed record()'s return type.
00095 //
00096 // Revision 1.1  2000/05/02 10:58:09  pfb
00097 // Work in progress.
00098 //
00099 //
00100 //==============================================================================
00101 
00102 #endif