MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrSim
lgrDisLegacyFileFormats.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
11
12
13
#if DtDIS
14
15
#ifndef lgrDisLegacyFileFormats_H_
16
#define lgrDisLegacyFileFormats_H_
17
18
#include "
lgrSim.h
"
19
#include "
lgrEntityTrackingFormat.h
"
20
#include "
lgrLegacyCheckpointedFormat.h
"
21
#include "
lgrLegacyUncheckpointedFormat.h
"
22
23
namespace
MAKLogger
24
{
25
class
DtLoggerFile;
26
class
DtLgrDisEntityTracker;
27
30
class
DT_DLL_LGRSIM
DtLgrLegacyDisUncheckpointedFormat
:
31
public
DtLgrLegacyUncheckpointedFormat
32
{
33
public
:
34
36
DtLgrLegacyDisUncheckpointedFormat
(
DtLoggerFile
*);
38
virtual
~
DtLgrLegacyDisUncheckpointedFormat
();
39
40
private
:
41
43
DtLgrLegacyDisUncheckpointedFormat
44
(
const
DtLgrLegacyDisUncheckpointedFormat
&);
46
DtLgrLegacyDisUncheckpointedFormat
& operator=(
47
const
DtLgrLegacyDisUncheckpointedFormat
&);
48
49
protected
:
50
53
virtual
void
validateType(
int
type);
54
56
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
57
};
58
61
class
DT_DLL_LGRSIM
DtLgrLegacyDisCheckpointedFormat
:
62
public
DtLgrLegacyCheckpointedFormat
63
{
64
public
:
65
67
DtLgrLegacyDisCheckpointedFormat
(
DtLoggerFile
*);
69
virtual
~
DtLgrLegacyDisCheckpointedFormat
();
70
71
private
:
72
74
DtLgrLegacyDisCheckpointedFormat
(
const
DtLgrLegacyDisCheckpointedFormat
&);
76
DtLgrLegacyDisCheckpointedFormat
& operator=(
77
const
DtLgrLegacyDisCheckpointedFormat
&);
78
79
protected
:
80
83
virtual
void
validateType(
int
type);
84
86
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
87
89
virtual
void
readEndMetaData();
90
92
virtual
void
writeEndMetaData();
93
};
94
98
class
DT_DLL_LGRSIM
DtLgrLegacyDis4_0Format
:
99
public
DtLgrLegacyDisCheckpointedFormat
100
{
101
public
:
102
104
DtLgrLegacyDis4_0Format
(
DtLoggerFile
*);
105
107
virtual
~
DtLgrLegacyDis4_0Format
();
108
109
private
:
110
112
DtLgrLegacyDis4_0Format
(
const
DtLgrLegacyDis4_0Format
&);
114
DtLgrLegacyDis4_0Format
& operator=(
115
const
DtLgrLegacyDis4_0Format
&);
116
117
protected
:
118
121
virtual
void
validateType(
int
type);
122
124
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
125
};
126
130
class
DT_DLL_LGRSIM
DtLgrLegacyDis4_2Format
:
public
DtLgrLegacyDis4_0Format
131
{
132
public
:
133
134
DtLgrLegacyDis4_2Format
(
DtLoggerFile
*);
135
136
private
:
137
139
DtLgrLegacyDis4_2Format
(
const
DtLgrLegacyDis4_2Format
&);
141
DtLgrLegacyDis4_2Format
& operator=(
142
const
DtLgrLegacyDis4_2Format
&);
143
144
protected
:
145
148
virtual
void
validateType(
int
type);
149
151
virtual
void
readEndMetaData();
152
154
virtual
void
writeEndMetaData();
155
};
156
160
class
DT_DLL_LGRSIM
DtLgrDis4_3Format
:
public
DtLgrEntityTrackingFormat
161
{
162
public
:
163
DtLgrDis4_3Format
(
DtLoggerFile
*);
164
~
DtLgrDis4_3Format
();
165
167
virtual
DtLgrEntityTracker
* entityTracker()
const
;
168
169
protected
:
170
172
virtual
DtLgrEntityTracker
* entityTracker();
173
175
virtual
void
readStartMetaData();
176
178
virtual
void
readEndMetaData();
179
181
virtual
void
writeStartMetaData();
182
184
virtual
void
writeEndMetaData();
185
188
virtual
void
validateType(
int
type);
189
191
virtual
void
validateStartMetaDataMap
() {}
192
194
virtual
void
validateEndMetaDataMap
() {}
195
197
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
198
199
protected
:
200
202
DtLgrDisEntityTracker
*
myEntityTracker
;
203
204
};
205
206
207
}
208
209
#endif
210
#endif
Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)