MAK Data Logger API Documentation for DIS
lgrDisFileFormats.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #if DtDIS
12 
13 #ifndef lgrDisFileFormats_H_
14 #define lgrDisFileFormats_H_
15 
16 #include "lgrSim.h"
17 
21 
22 namespace MAKLogger
23 {
24  class DtLgrFileFormatter;
25  class DtLoggerFile;
26  class DtLgrEntityTracker;
27  class DtLgrDisEntityTracker;
28 
32  {
33  public:
35  ~DtLgrDisFormat();
36 
38  virtual DtLgrEntityTracker* entityTracker() const;
39 
40  protected:
41 
43  virtual DtLgrEntityTracker* entityTracker();
44 
46  virtual void readStartMetaData();
47 
49  virtual void readEndMetaData();
50 
52  virtual void writeStartMetaData();
53 
55  virtual void writeEndMetaData();
56 
59  virtual void validateType(int type);
60 
62  virtual int decodeTypeFromFlags(unsigned int flags);
63 
64  protected:
65 
68 
69  };
70 
71 
75  {
76  public:
77 
78  static void registerFormats();
79 
80  static const int LegacyUncheckpointedFormat = -2;
81  static const int LegacyCheckpointedFormat = -10;
82  static const int Logger_4_0_Format = -20;
83  static const int Logger_4_2_Format = -30;
84  static const int CurrentCheckpointedFormat = -50;
85 
86  static const char* versionString(int version);
87 
88  protected:
89  static DtLgrFileFormatter* createLegacyUncheckpointedFormat(DtLoggerFile*);
90  static DtLgrFileFormatter* createLegacyCheckpointedFormat(DtLoggerFile*);
91  static DtLgrFileFormatter* createLegacyLogger40Format(DtLoggerFile*);
92  static DtLgrFileFormatter* createLegacyLogger42Format(DtLoggerFile*);
93  static DtLgrFileFormatter* createCurrentFormat(DtLoggerFile*);
94 
95  };
96 
97 }
98 
99 #endif
100 #endif

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)