MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrSim
lgrDisLegacyFileFormats.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2016 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#if DtDIS
10
11
#pragma once
12
13
#include <
lgrSim/lgrSim.h
>
14
#include <
lgrCore/lgrEntityTrackingFormat.h
>
15
#include <
lgrCore/lgrLegacyCheckpointedFormat.h
>
16
#include <
lgrCore/lgrLegacyUncheckpointedFormat.h
>
17
18
namespace
MAKLogger
19
{
20
class
DtLoggerFile;
21
class
DtLgrEntityTracker;
22
25
class
DT_DLL_LGRSIM
DtLgrLegacyDisUncheckpointedFormat
:
public
DtLgrLegacyUncheckpointedFormat
26
{
27
public
:
28
30
DtLgrLegacyDisUncheckpointedFormat
(
DtLoggerFile
*);
32
virtual
~
DtLgrLegacyDisUncheckpointedFormat
();
33
34
private
:
35
37
DtLgrLegacyDisUncheckpointedFormat
38
(
const
DtLgrLegacyDisUncheckpointedFormat
&);
40
DtLgrLegacyDisUncheckpointedFormat
& operator=(
41
const
DtLgrLegacyDisUncheckpointedFormat
&);
42
43
protected
:
44
47
virtual
void
validateType(
int
type);
48
50
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
51
};
52
55
class
DT_DLL_LGRSIM
DtLgrLegacyDisCheckpointedFormat
:
public
DtLgrLegacyCheckpointedFormat
56
{
57
public
:
58
60
DtLgrLegacyDisCheckpointedFormat
(
DtLoggerFile
*);
62
virtual
~
DtLgrLegacyDisCheckpointedFormat
();
63
64
private
:
65
67
DtLgrLegacyDisCheckpointedFormat
(
const
DtLgrLegacyDisCheckpointedFormat
&);
69
DtLgrLegacyDisCheckpointedFormat
& operator=(
70
const
DtLgrLegacyDisCheckpointedFormat
&);
71
72
protected
:
73
76
virtual
void
validateType(
int
type);
77
79
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
80
82
virtual
void
readEndMetaData();
83
85
virtual
void
writeEndMetaData();
86
};
87
91
class
DT_DLL_LGRSIM
DtLgrLegacyDis4_0Format
:
public
DtLgrLegacyDisCheckpointedFormat
92
{
93
public
:
94
96
DtLgrLegacyDis4_0Format
(
DtLoggerFile
*);
97
99
virtual
~
DtLgrLegacyDis4_0Format
();
100
101
private
:
102
104
DtLgrLegacyDis4_0Format
(
const
DtLgrLegacyDis4_0Format
&);
106
DtLgrLegacyDis4_0Format
& operator=(
107
const
DtLgrLegacyDis4_0Format
&);
108
109
protected
:
110
113
virtual
void
validateType(
int
type);
114
116
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
117
};
118
122
class
DT_DLL_LGRSIM
DtLgrLegacyDis4_2Format
:
public
DtLgrLegacyDis4_0Format
123
{
124
public
:
125
126
DtLgrLegacyDis4_2Format
(
DtLoggerFile
*);
127
128
private
:
129
131
DtLgrLegacyDis4_2Format
(
const
DtLgrLegacyDis4_2Format
&);
133
DtLgrLegacyDis4_2Format
& operator=(
134
const
DtLgrLegacyDis4_2Format
&);
135
136
protected
:
137
140
virtual
void
validateType(
int
type);
141
143
virtual
void
readEndMetaData();
144
146
virtual
void
writeEndMetaData();
147
};
148
152
class
DT_DLL_LGRSIM
DtLgrDis4_3Format
:
public
DtLgrEntityTrackingFormat
153
{
154
public
:
155
DtLgrDis4_3Format
(
DtLoggerFile
*);
156
~
DtLgrDis4_3Format
();
157
159
virtual
DtLgrEntityTracker
* entityTracker()
const
;
160
161
protected
:
162
164
virtual
DtLgrEntityTracker
* entityTracker();
165
167
virtual
void
readStartMetaData();
168
170
virtual
void
readEndMetaData();
171
173
virtual
void
writeStartMetaData();
174
176
virtual
void
writeEndMetaData();
177
180
virtual
void
validateType(
int
type);
181
183
virtual
void
validateStartMetaDataMap
() {}
184
186
virtual
void
validateEndMetaDataMap
() {}
187
189
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
190
191
protected
:
192
194
DtLgrEntityTracker
*
myEntityTracker
;
195
196
};
197
198
class
DT_DLL_LGRSIM
DtLgrDis5_3Format
:
public
DtLgrDis4_3Format
199
{
200
public
:
201
DtLgrDis5_3Format
(
DtLoggerFile
*);
202
~
DtLgrDis5_3Format
();
203
205
virtual
void
setDescription(DtString description);
206
208
virtual
double
startTime()
const
;
209
211
virtual
double
endTime()
const
;
212
214
virtual
DtString description()
const
;
215
216
protected
:
217
221
virtual
void
readStartMetaData();
222
224
virtual
void
writeStartMetaData();
225
229
virtual
void
readEndMetaData();
230
232
virtual
void
writeEndMetaData();
233
236
virtual
void
validateType(
int
type);
237
239
virtual
bool
validateStartMetaDataType(
int
type);
240
242
virtual
bool
validateEndMetaDataType(
int
type);
243
246
virtual
void
validateStartMetaDataMap();
247
250
virtual
void
validateEndMetaDataMap();
251
253
virtual
int
decodeTypeFromFlags(
unsigned
int
flags);
254
255
};
256
257
}
258
259
#endif
Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (
www.mak.com
)