lgrDisLegacyFileFormats.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00011 
00012 
00013 #if DtDIS
00014 
00015 #ifndef lgrDisLegacyFileFormats_H_
00016 #define lgrDisLegacyFileFormats_H_
00017 
00018 #include "lgrSim.h"
00019 #include "lgrLegacyCheckpointedFormat.h"
00020 #include "lgrLegacyUncheckpointedFormat.h"
00021 
00022 namespace MAKLogger
00023 {
00024    class DtLoggerFile;
00025 
00028    class DT_DLL_LGRSIM DtLgrLegacyDisUncheckpointedFormat :
00029       public DtLgrLegacyUncheckpointedFormat
00030    {
00031    public:
00032 
00034       DtLgrLegacyDisUncheckpointedFormat(DtLoggerFile*);
00036       virtual ~DtLgrLegacyDisUncheckpointedFormat();
00037 
00038    private:
00039 
00041       DtLgrLegacyDisUncheckpointedFormat
00042          (const DtLgrLegacyDisUncheckpointedFormat&);
00044       DtLgrLegacyDisUncheckpointedFormat& operator=(
00045          const DtLgrLegacyDisUncheckpointedFormat&);
00046 
00047    protected:
00048 
00051       virtual void validateType(int type);
00052 
00054       virtual int decodeTypeFromFlags(unsigned int flags);
00055    };
00056 
00059    class DT_DLL_LGRSIM DtLgrLegacyDisCheckpointedFormat :
00060       public DtLgrLegacyCheckpointedFormat
00061    {
00062    public:
00063 
00065       DtLgrLegacyDisCheckpointedFormat(DtLoggerFile*);
00067       virtual ~DtLgrLegacyDisCheckpointedFormat();
00068 
00069    private:
00070 
00072       DtLgrLegacyDisCheckpointedFormat(const DtLgrLegacyDisCheckpointedFormat&);
00074       DtLgrLegacyDisCheckpointedFormat& operator=(
00075          const DtLgrLegacyDisCheckpointedFormat&);
00076 
00077    protected:
00078 
00081       virtual void validateType(int type);
00082 
00084       virtual int decodeTypeFromFlags(unsigned int flags);
00085 
00087       virtual void readEndMetaData();
00088 
00090       virtual void writeEndMetaData();
00091    };
00092 
00096    class DT_DLL_LGRSIM DtLgrLegacyDis4_0Format :
00097       public DtLgrLegacyDisCheckpointedFormat
00098    {
00099    public:
00100 
00102       DtLgrLegacyDis4_0Format(DtLoggerFile*);
00103 
00105       virtual ~DtLgrLegacyDis4_0Format();
00106 
00107    private:
00108 
00110       DtLgrLegacyDis4_0Format(const DtLgrLegacyDis4_0Format&);
00112       DtLgrLegacyDis4_0Format& operator=(
00113          const DtLgrLegacyDis4_0Format&);
00114 
00115    protected:
00116 
00119       virtual void validateType(int type);
00120 
00122       virtual int decodeTypeFromFlags(unsigned int flags);
00123    };
00124 
00128    class DT_DLL_LGRSIM DtLgrLegacyDis4_2Format : public DtLgrLegacyDis4_0Format
00129    {
00130    public:
00131 
00132       DtLgrLegacyDis4_2Format(DtLoggerFile*);
00133 
00134    private:
00135 
00137       DtLgrLegacyDis4_2Format(const DtLgrLegacyDis4_2Format&);
00139       DtLgrLegacyDis4_2Format& operator=(
00140          const DtLgrLegacyDis4_2Format&);
00141 
00142    protected:
00143 
00146       virtual void validateType(int type);
00147 
00149       virtual void readEndMetaData();
00150 
00152       virtual void writeEndMetaData();
00153    };
00154 
00155 }
00156 
00157 #endif
00158 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)